Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Worksheet_FollowHyperlink


Does anyone know why a code module inside a hidden worksheet stops
working after it's copied from one workbook to another?

I have a Worksheet_FollowHyperlink event that works until it gets
copied (the entire sheet is copied) from a hidden tab to an open
workbook. Afterwards, it no longer works. It never even runs (I set
breakpoints and/or used the Stop command). I then tried a
Worksheet_SelectionChange event, and got the same results. I'll also
mention that both workbooks are open together (the first being loaded
from within XLSTART). Could their be a conflict?


--
NamssoB
------------------------------------------------------------------------
NamssoB's Profile: http://www.excelforum.com/member.php...o&userid=26814
View this thread: http://www.excelforum.com/showthread...hreadid=400663

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Worksheet_FollowHyperlink

How are you copying that hidden worksheet?

When I copy hidden worksheets, I have to unhide them, copy, and rehide the
original worksheet (and maybe hide that copy).

When I did this, the worksheet_followhyperlink worked fine.

And how would you use any of these events when they're associated with a hidden
sheet?

NamssoB wrote:

Does anyone know why a code module inside a hidden worksheet stops
working after it's copied from one workbook to another?

I have a Worksheet_FollowHyperlink event that works until it gets
copied (the entire sheet is copied) from a hidden tab to an open
workbook. Afterwards, it no longer works. It never even runs (I set
breakpoints and/or used the Stop command). I then tried a
Worksheet_SelectionChange event, and got the same results. I'll also
mention that both workbooks are open together (the first being loaded
from within XLSTART). Could their be a conflict?

--
NamssoB
------------------------------------------------------------------------
NamssoB's Profile: http://www.excelforum.com/member.php...o&userid=26814
View this thread: http://www.excelforum.com/showthread...hreadid=400663


--

Dave Peterson
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
call a sub with arguments from Worksheet_FollowHyperlink event Tom Ogilvy Excel Programming 5 August 28th 03 10:58 PM


All times are GMT +1. The time now is 09:18 AM.

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"