View Full Version : Linking Excel Sheet as OLE object
jmckiness
2005-08-24, 12:22 PM
When I link an Excel spreadsheet to an AutoCADLT file, I get extra rows and columns. Sometimes a few of each some times a lot. How do I import only the columns/rows used and not all the empty space?
Mike.Perry
2005-08-24, 12:32 PM
Hi
For starters have you worked your way through the following thread found in the AutoCAD FAQ (http://forums.augi.com/forumdisplay.php?f=189) forum -
Working with OLE (eg Excel) Objects within a drawing file (http://forums.augi.com/showthread.php?t=16801)
Have a good one, Mike
jmckiness
2005-08-24, 01:05 PM
Yes, I have gone through that set. The problem I am having isn't truncating, quite the reverse. I am also getting anywhere from 1-15 extra columns where there is no data at all as well as 1-15 extra rows, also with no data. The number of extra row/column is drawing dependent, not spreadsheet dependent and only happens when I LINK a spreadsheet. I can paste and it comes in fine.
Mike.Perry
2005-08-24, 08:27 PM
Hi
What happens if you do the following...
Excel Document -> Print Area -> Set Printable Area -> Copy to Clipboard
AutoCAD -> Paste Special -> Paste Link
What Operating System and Excel version are you running?
Have a good one, Mike
jmckiness
2005-08-25, 11:16 AM
That seems to work. My OS is Windows 2000, Excel is XP, AutoCADLT 2004. One wonders why this method works and the OLE insert does not and why the problerm is drawing specific when all the drawings originate from the same blank sheet.
Mike.Perry
2005-08-25, 11:43 AM
That seems to work.Hi
Good to hear that method worked... you will find each release of AutoCAD so far has improved on the previous version with regards handling of OLE Objects.
Generaly you will find using Windows XP and Excel XP or 2003 will greatly help the process...
Yes, I have gone through that set.Seeing as the method I outlined above worked for you, I honestly don't think you could have worked your way through "Working with OLE (eg Excel) Objects within a drawing file (http://forums.augi.com/showthread.php?t=16801)".
Why do I say that? -
<snip>
Excel Document -> Print Area -> Set Printable Area -> Copy to Clipboard
AutoCAD -> Paste Special -> Paste Link
</snip>
Came from link "Change to excel docs (http://forums.augi.com/showthread.php?t=10744)" which is found in that thread...
Please note, I am not having a go at you here... I am simply trying to point out that when I direct people to other threads and tell them to "work through" they need to follow ALL! links found within.
Have a good one, Mike
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.