MsgBox hyperlink

D

Dirk Goldgar

Joel Wiseheart said:
Is it possible to put a hyperlink in a MsgBox function
text?

No. You could build and display your own form for the purpose. There
are some complications to deal with if the form is going to be different
every time you display it, so you have to decide if it's worth the
coding effort.
 
C

Cheryl Fischer

If you mean replace the Yes, No, OK, etc., button text with a hyperlink
value, I don't believe you can. In the MsgBox() function, you are limited
to using the numeric button value or its equivalent constant. However, you
could create a small pop-up form with a command button or two and use the
HyperLink Address property of the button to insert the address. When you
enter a string for the button's caption, it will be formatted as a
HyperLink. You could also do some coding to vary what the caption is, I
would think.

hth,
 

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