Automation ? more info

W

Wilson Pye

Hi,

I am trying to get the bookmark "Sales Tax" to print with a single under
line.

Here is the code:

oRange = oDocument.Range(0,0)
.InsertAfter( CR )
.InsertAfter( "Sales Tax: " + TAB )
.Collapse( wdCollapseEnd )
oDocument.Bookmarks.Add("SalesTax", oRange)

Any help on the code?


Wilson
 
H

Hilary Ostrov

Hi,

I am trying to get the bookmark "Sales Tax" to print with a single under
line.

Here is the code:

oRange = oDocument.Range(0,0)
.InsertAfter( CR )
.InsertAfter( "Sales Tax: " + TAB )
.Collapse( wdCollapseEnd )
oDocument.Bookmarks.Add("SalesTax", oRange)

Any help on the code?

Try posting your question (and the one you posed in your other post)
to microsoft.public.word.vba.beginners. I'm sure one of the VBA gurus
there will be able to help you.

hro
 

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

Similar Threads

Automation? 0
Automation? Word 6
Automation? 0
Show Ink Excel 0
Envelopes? 0
Access to Word automation removing a merge field 5
Insert Bullet 4
Help with organising info 1

Top