Macro for putting Graphic in line with text

S

Sol Apache

Hello

I want to put linked Excel charts in line with text but when I record to do
this step the ³in line with text² button on the layout window is greyed out.
I cannot find any reference to this in VB online help.

I am using Word 2004 (Mac). The template I am creating will primarily be
used by Windows people so can someone tell me the actual line(s) of VB text
I can add to my macro so this task can be done.

TIA


Sol
 
W

Word Heretic

G'day Sol Apache <[email protected]>,

If the chart is not in the doc yet,

InlineShapes.Add

If the chart is in the doc and floating, it is a shape, and you can

SomeRange.ShapeRange(1).ConvertToInlineShape

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


Sol Apache reckoned:
 
S

Sol Apache

Thanks very much for your help


G'day Sol Apache <[email protected]>,

If the chart is not in the doc yet,

InlineShapes.Add

If the chart is in the doc and floating, it is a shape, and you can

SomeRange.ShapeRange(1).ConvertToInlineShape

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


Sol Apache reckoned:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top