Results 1 to 4 of 4

Thread: userform template [Resolved]

  1. #1

    Thread Starter
    Member
    Join Date
    Apr 2005
    Posts
    49

    Resolved userform template [Resolved]

    hi,

    im writing a small program where my form contains 8 command boxes. 5 of these boxes will use the same form that comes up each time the button is pressed (only difference being the title of form, and selections made by user). is there any way of making this easier rather than creating the same form design for each of the 5 buttons (don't think i can copy and paste as not sure if this will affect the individual userforms?? or would templates be an easier solution (not sure how to do that though)? anything that makes it a little easier??) -- any ideas????

    thanks
    Last edited by chaos7; Jun 9th, 2005 at 07:02 PM.

  2. #2
    Frenzied Member
    Join Date
    Feb 2003
    Location
    Argentina
    Posts
    1,950

    Re: userform template

    When you open the form, set it's caption to whatever title you want based on the button clicked. Same for selections, although since you didn't give any examples of that I can't give you specifics there.
    Tengo mas preguntas que contestas

  3. #3

    Thread Starter
    Member
    Join Date
    Apr 2005
    Posts
    49

    Re: userform template

    Hi,

    So would copy and pasting a userform to another userform have any effects on the previous userforms settings/procedures?? My code is to basically go through each room in house and set light/temp settings, so i thought all i need is same userform just with the title of userform being different. Wasn't sure if copying and pasting fm one userform to another would alter functionality of the userform??

    Thanks..

  4. #4
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: userform template

    what salvelinus suggested ws to use a single form, just change it's caption appropriatly, then save the values entered for each room, then show the same form again with whatever changes needed for the next room

    pete

Posting Permissions

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



Click Here to Expand Forum to Full Width