Macro field and bookmark

P

Peter Lingo

Hello
I generate by vba a table. In the first col there is an unique id. This id
number is the text of a macrobutton. When the user clicks on this number the
cursor jumps to a boomark. The problem is, that the id number text is
selected but when I want read this text by Selection.Text or
Selection.Range.Text there is only special characters seen but not the
id-text.
When the user double clicks on the number the cursor should jump to the
refering bookmark an highlight them.
Or is it possible to do this with the Hyperlinks.Add but how can I highlight
the sentence?

Thanks Peter
 
C

Chad DeMeyer

Peter,

Selection.Fields(1).Result

should give you the unique id.

Regards,
chad
 

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