By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,815 Members | 1,151 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,815 IT Pros & Developers. It's quick & easy.

Programmatically modify OLE Linked Object in Word

P: 3
I have code in VB.net 2010 that use Word 2010 and Excel 2010 interop to generate a Word document which has programmatically linked tables (objects) from Excel ranges (Print_Area name range). These tables where generated by Copy/PasteSpecial (i.e. .PasteSpecial(Link:=True, DataType:=0, Placement:=0, DisplayAsIcon=False)). All works just fine except the linked object is not the desired size. I can change the size manually in Word by right-clicking the object, selecting Format Object, selecting the Size tab and adjusting the Height, Width, Lock aspect ration and Relative to original picture size options. Does anyone know how to select the linked OLE object and the proper method for changing the properties of the object to allow me to resize it? Thanks in advance for any help you may provide.
Sep 4 '12 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.