I am doing word automation with VB6 and populating a url at a bookmark using gotoboomark and insertafterbookmark functions. This url doesn't show up as a web link when I open the document.

Re: URLs are not formatted as hyperlinks by Jonathan

Jonathan
Mon Jun 28 18:01:53 CDT 2004


"NILESH" <NILESH@discussions.microsoft.com> wrote in message
news:BA833011-E490-49FB-AA09-B2374A6C8A14@microsoft.com...
> I am doing word automation with VB6 and populating a url at a bookmark
using gotoboomark and insertafterbookmark functions. This url doesn't show
up as a web link when I open the document.

Having entered the text, you need to use the Hyperlinks.Add method to create
a hyperlink at that point.


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup


Re: URLs are not formatted as hyperlinks by NILESH

NILESH
Tue Jun 29 17:00:01 CDT 2004

Thanks Jonathan. It worked.

"Jonathan West" wrote:

>
> "NILESH" <NILESH@discussions.microsoft.com> wrote in message
> news:BA833011-E490-49FB-AA09-B2374A6C8A14@microsoft.com...
> > I am doing word automation with VB6 and populating a url at a bookmark
> using gotoboomark and insertafterbookmark functions. This url doesn't show
> up as a web link when I open the document.
>
> Having entered the text, you need to use the Hyperlinks.Add method to create
> a hyperlink at that point.
>
>
> --
> Regards
> Jonathan West - Word MVP
> www.intelligentdocuments.co.uk
> Please reply to the newsgroup
>
>