Automation?

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
 

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? Word 6
Automation ? more info 1
Automation? 0
FileName in Footer Set to 8 pt 11
Show Ink Excel 0
Automation of word in Access 2007 2
Adding break Lines 1
Envelopes? 0

Top