hyperlink style

P

Piotr Nadolny

I've changed the style of selection object like the following:

ole_1.object.selection.style = wdStyleHyperLink;

It works fine but when I edit my OLE control and press Control when the
cursor is on the email address it doesn't show the hiperlink. So the text
has a hyperlink style but is not assigned to any email address or website.
How should I assign it? Should I use typetext function?

Thanks...
 
D

DA

Hi Piotr

You need to use the Add method to assign a hyperlink,
giving it an anchor and address for a link to go anywhere.

Check your VBA help under the Add method for full list of
parameters you'll have to pass.

Best of luck,
Dennis
 

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