Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,514
Default how to reshow userform after following a link

Try checking to see if the userforms are loaded before unhiding.

In the Workbook_Activate event:
If Not Userform1 Is Nothing Then Userform1.Show
If Not Userform2 Is Nothing Then Userform2.Show

This precludes that when the userforms aren't needed then they get
unloaded. This way, the code will unhide the userforms only when
they're loaded.

--
Garry

Free usenet access at http://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc


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
cell link to userform ranswrt Excel Programming 2 September 4th 08 03:39 PM
How to Link value from a Cell to a control in the userform Shuvro Basu Excel Programming 1 December 22nd 05 12:25 PM
Link from Userform to Spreadsheet Richard Excel Programming 3 May 22nd 04 05:54 PM
Userform w/ Multiple listboxes that link miker1999[_13_] Excel Programming 1 April 27th 04 03:22 AM
Userform w/ Multiple listboxes that link miker1999[_12_] Excel Programming 0 April 20th 04 12:35 PM


All times are GMT +1. The time now is 12:31 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"