task code

J

Joel Allen

Outlook 2003 SP3

Hello,

I'm populating a Word template from my Custom Outlook Task and am having
trouble.

I can insert text at a bookmark:

objDoc.Bookmarks("Body").Range.InsertBefore Item.Body


I can add a Hyperlink:

objDoc.Hyperlinks.Add objSel.Range,
"\\TGPS13VM1\drawing$\Jobs-"+JobYear+"\"+Item.UserProperties("JobNumber")+"
"+Item.UserProperties("JobName"), _
"", "Folder Address", "Go To Folder", ""


.....but for the life of me, I can't figure out how to insert a Hyperlink
before a Bookmark. I've really tried and cannot figure out the proper
syntax. Can someone please help me?

Thanks Joel
 

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