Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Tony
 
Posts: n/a
Default hyperlinks and command buttons

I have a main document, which contains command buttons. Each of these command
buttons, has a different associated hyperlink attached to it, to open a
different worksheet. The problem, is that when i save the main document,
close it, and re-open it, the hyperlinks, no longer work, unless the document
is in "design mode" .

Is there a way, for me to keep the hyperlinks active? I have tried to use an
auto_open macro, with no success. Also, i am no good at Visual Basic.

Alternatively, if there is a template, available, which i can modify, to
achieve the desired outcome, the location of it would be appreciated. Thank
you.
  #2   Report Post  
Anne Troy
 
Posts: n/a
Default

Tony, I could be wrong, but...
A command button runs some code. If you ALSO want it to hyperlink, then I
would think you should place some code at the end of your existing code that
performs the hyperlink task for you. I don't think command buttons are
intended to do both.
*******************
~Anne Troy

www.OfficeArticles.com


"Tony" wrote in message
...
I have a main document, which contains command buttons. Each of these

command
buttons, has a different associated hyperlink attached to it, to open a
different worksheet. The problem, is that when i save the main document,
close it, and re-open it, the hyperlinks, no longer work, unless the

document
is in "design mode" .

Is there a way, for me to keep the hyperlinks active? I have tried to use

an
auto_open macro, with no success. Also, i am no good at Visual Basic.

Alternatively, if there is a template, available, which i can modify, to
achieve the desired outcome, the location of it would be appreciated.

Thank
you.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:27 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"