+ Reply to Thread
Results 1 to 3 of 3

Save properties when exiting a Userform?

  1. #1
    Registered User
    Join Date
    08-07-2006
    Posts
    33

    Save properties when exiting a Userform?

    Hi everyone

    Does anyone know if it is possible for a user of a userform to save properties (such as a command button's "Caption", "Backcolor", "Tag") upon exiting/closing the userform? The default properties of controls in a userform are usually set at design time, but is it possible to write it in such a way that the user can set the defaults to something other than the values that the designer chose? If so, how would I go about doing this?

    Any help would be appreciated.
    Thanks, and Happy Thanksgiving :-)
    Emma

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Good evening embirath

    There isn't a standard way to do this, as userforms are incapable of saving anything - they are only of use as a user friendly interface. What you could do is set a hidden sheet aside and have these values written to the sheet on exit, then when the sheet is opened these values are retrieved.

    HTH

    DominicB
    Please familiarise yourself with the rules before posting. You can find them here.

  3. #3
    Registered User
    Join Date
    08-07-2006
    Posts
    33
    That's a great idea. Thanks so much for your quick response!

    Emma

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1