For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic Syntax > March 2005 > Populate a few bookmarks from vb 6 application using OLE Control









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Populate a few bookmarks from vb 6 application using OLE Control
Manish Sawjiani

2005-03-05, 8:58 am

Dear Experts

I am desperately trying to populate some bookmarks in word from vb. I am
using a ole control and trying the following

OLE1.CreateEmbed "C:\Test.Doc"
OLE1.Object.BookMarks("vPO").Range.InsertAfterBookmark "Hello
World!!!!Thanks to the Discussion Group It Worked!!!!!"
OLE1.Action = 7 ' Lauch the application (DoVerb)

I would appreciate and thank from the bottom of my heart for help on this.
Three Cheers to the GROUP!!!
--
Three Cheers to technet for the Help!
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com