Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default How do use VBA to avoid reverting to my default properties for a l

You must be unloading your form, which removes it from memory. Try hiding it
instead with
Me.Hide

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"V-Man" wrote in message
...
I have created a userform where employees can choose one of two options.

If one option is selected, then several text boxes disappear, if the other
option is selected, the text boxes reappear. I am using an IF/Then code
with the textbox1.visible = true.

My challenge is when I go from one userform and then back to the original.

The textbox1.visible reverts back to the default setting of true. How do I
program it so that these settings are permanent - based on the feedback of
my user? If they select it to be invisible, it stays invisible, and vica
versa.

Thanks for the help!



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
Setting the default properties for cells in all new spreadsheets Bon Bon Excel Discussion (Misc queries) 1 March 20th 10 01:01 PM
Reverting to default chart fill colors (in Powerpoint?) david rocha Charts and Charting in Excel 0 December 29th 09 09:21 PM
How can I stop data labels reverting to a default position GARRETT RYAN Charts and Charting in Excel 0 October 18th 06 09:25 AM
How do I avoid fields being automatically filled in by default? jason New Users to Excel 1 June 15th 06 11:28 PM
Where does Excel get the default properties without startup file? Questions from Christine Excel Discussion (Misc queries) 2 July 6th 05 07:47 PM


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