+ Reply to Thread
Results 1 to 3 of 3

Text field visible property on user form

  1. #1
    Forum Contributor
    Join Date
    06-25-2007
    Posts
    166

    Text field visible property on user form

    Hi,

    I have a text field at the bottom of a user form that remains hidden (i.e. visible = false) until the user clicks the "Ok" button. At that point, I want the text field to appear as the macro is running (it's a large macro, so the text field just says "processing, please wait...").

    The first line of my macro is:

    Please Login or Register  to view this content.
    Where CostSummSettings.Processing is the text field. The rest of the code comes after that line. The user form doesn't close until the end of the macro, so the form should stay open with this text field displayed on it as the macro is running. However, when the user clicks OK and the macro is run, the text field is not appearing on the form. I've isolated and tested that line of code and it works on its own, but not when it's combined with the rest of the code.

    Can't figure out why. Any suggestions? Thanks in advance.
    Last edited by JChandler22; 01-22-2010 at 02:45 PM. Reason: Issue resolved

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Trouble with text field visible property on user form

    Hello JChandler22,

    Try this. Change the name of UserForm1 to the name of your user form.
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Forum Contributor
    Join Date
    06-25-2007
    Posts
    166

    Re: Text field visible property on user form

    Worked like a charm. Thanks so much!

+ 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