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
 
Top