473,396 Members | 1,917 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Programmatically modify OLE Linked Object in Word

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
0 1358

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

Similar topics

3
by: Jon Paal | last post by:
any way to modify text content of a word document through ASP ?
4
by: Otis Hunter | last post by:
I have been given an Access Database which contains a table that has an OLE object field that contains a Word document. That table contains hundreds of records. I would like to find out how I can...
0
by: Otis Hunter | last post by:
I have been fighting with this for days and your expert help is needed! Below is the code I am executing which results with "Object doesn't support this property or method". The error is occuring...
0
by: ChadDiesel | last post by:
Hello Everyone, I have a field set up in a table that is an OLE object with a link to an external Excel spreadsheet. My question is whether you can use a file path that contains wildcards. ...
1
by: bburkhart | last post by:
First look at: http://msdn2.microsoft.com/en-us/library/ms178425(VS.80).aspx I've tried this, and while the code sort of works, the modified SiteMapNodes get stuck in memory and can't be...
1
by: cuj0 | last post by:
Don't ask me why, but I have a situation where a "<base href="..." value has been set for all my pages, but under certain situations I don't want it to have an effect. Therefore, I was hoping that...
25
by: bubbles | last post by:
Using Access 2003 front-end, with SQL Server 2005 backend. I need to make the front-end application automatically refresh the linked SQL Server tables. New tables will be added dynamically in...
1
by: Joey | last post by:
Is this possible? I have an app where we are using forms authentication and are allow editing/changing of security role names. Since I have set permissions with <locationtags in web.config (i.e....
1
by: Valrossen | last post by:
Hi! I have a webpage with one form and multiple user controls. I want to create one (or more) object on Page_Init(), and use/modify this object in one or more usercontrols. How can i do...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.