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

Perhaps you could establish a global variable which the activate event
checks before it executes the growth code. Have userform2 set the variable
to prevent the growth.

--
Regards,
Tom Ogilvy


"nath" <n@n wrote in message ...
Hi

I have a userform, userform1 that when selected to be
opened, opens the form with it rising from the centre of
the screen. There are various controls on this form,
where one is a button to see a financial year week number
by clicking a date on the calendar. The calendar is on
userform2, which shows fine. However when i close
userform2, even though userform1 is still visible, it
still runs the code to make the form extend.

I have used the UserForm1_Activate for this "growth" code.

It has to appear in this way.

Dows anybody know how to just switch between the forms
rather than deactivate them

i am using userform2.show when the button is clicked.

TIA

Nath.



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
Switching Text Felix Excel Discussion (Misc queries) 4 May 24th 07 01:33 PM
Lists Switching Yaroslav Excel Discussion (Misc queries) 2 August 22nd 06 08:30 AM
switching the worksheet? Eddie Excel Discussion (Misc queries) 1 April 24th 06 06:09 AM
Switching Information zephyr Excel Discussion (Misc queries) 2 February 21st 06 07:25 AM
switching between modes Joe Excel Discussion (Misc queries) 3 February 9th 06 01:55 PM


All times are GMT +1. The time now is 11:43 AM.

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

About Us

"It's about Microsoft Excel"