Consulting

Results 1 to 6 of 6

Thread: multiple form

  1. #1

    multiple form

    i have a macro with multiple forms. how to i read information from one form to another. for example if form1 has check boxes and radio buttons how do i read if whether or not the check box was selected and the radio button was selected in form3.

  2. #2
    Mac Moderator VBAX Guru mikerickson's Avatar
    Joined
    May 2007
    Location
    Davis CA
    Posts
    2,778
    The syntax should be similar to UserForm2.Checkbox3.Value.
    But, once Userform2 is unloaded, the value of CheckBox3 is reset from the value set by the user to the default.

    An alternative to multiple userforms is a userform with a MultiPage control.

  3. #3
    Quote Originally Posted by mikerickson
    The syntax should be similar to UserForm2.Checkbox3.Value.
    But, once Userform2 is unloaded, the value of CheckBox3 is reset from the value set by the user to the default.

    An alternative to multiple userforms is a userform with a MultiPage control.
    is there a way to keep the information; i have never use the multipage control before and i don't know if the program will have the same feel to it. right now i have buttons, and based on whether or not those buttons are clicked, a different form will show up. can i do that with multipage

  4. #4
    update.....i am not unloading the forms, but hiding them

  5. #5
    Mac Moderator VBAX Guru mikerickson's Avatar
    Joined
    May 2007
    Location
    Davis CA
    Posts
    2,778
    The syntax for reading the value of a userform's control would be the same.

  6. #6
    thank you all

Posting Permissions

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