+ Reply to Thread
Results 1 to 3 of 3

dynamic form updates

  1. #1
    Shawn G.
    Guest

    dynamic form updates

    I have a userform in VBA setup the way I need it.
    I would like to have 3 different Subs use the form.
    When the sub calls the form to show, how can I change the Form Title in the
    Blue bar across top, And what a certain label on the form say?

  2. #2
    Shawn G.
    Guest

    RE: dynamic form updates

    OK I figured out how with Globals but, is there
    anyway to do it with out Global Variables?
    I can do it with Globals, but would like to stay away from those if possible.

    Thanks,

    "Shawn G." wrote:

    > I have a userform in VBA setup the way I need it.
    > I would like to have 3 different Subs use the form.
    > When the sub calls the form to show, how can I change the Form Title in the
    > Blue bar across top, And what a certain label on the form say?


  3. #3
    Nigel
    Guest

    Re: dynamic form updates

    One way is to store the required userform title and caption for the label in
    either two public variables or in a specific worksheet location, before each
    sub calls the userform these values are set, and the userform intialize
    event loads the values into the form.



    --
    Cheers
    Nigel



    "Shawn G." <ShawnG@discussions.microsoft.com> wrote in message
    news:B14DB5BC-B88B-44E3-A096-DAF439F93A77@microsoft.com...
    > I have a userform in VBA setup the way I need it.
    > I would like to have 3 different Subs use the form.
    > When the sub calls the form to show, how can I change the Form Title in

    the
    > Blue bar across top, And what a certain label on the form say?




+ 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