+ Reply to Thread
Results 1 to 1 of 1

Dynamically Generating Forms in VBA

  1. #1
    Registered User
    Join Date
    12-20-2012
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    6

    Dynamically Generating Forms in VBA

    I'm pretty new to VBA. I'm creating a VBA script that generates data sheets. I think the best way to do this is with a series of VBA forms. We need to enter data for any number of test ports, so I was thinking that I would have a form (Form 1) that allowed the user to enter the number of test ports. When the user clicks the "Next" button on this first form it would open a port data form (Form 2) where they can enter data for that port. If there is only one port based on input in Form 1, then they hit a "Next" button that would take them to a confirmation form, if there were more than one port specified in Form 1 then another Form 2 form would open allowing entering port 2 data, etc. After information for all of the ports has been entered,there would be a confirmation form that allowed the user to cancel or submit the data from all forms.

    The issues I'm coming up with is that A) i have no clue how to make an undetermined number of windows to open in this chain of 3+ forms, and B) I'm not totally clear on how to pass the data from one form to the next.

    Any help on this would be appreciated.
    Last edited by danpool; 07-29-2013 at 03:49 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Dynamically Generating a list
    By JayReina in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 07-09-2013, 07:53 AM
  2. [SOLVED] Dynamically Generating Links to Run a Macro
    By GazB in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-24-2013, 08:23 PM
  3. Print on ready blank forms (document forms)
    By gandrinno in forum Excel General
    Replies: 1
    Last Post: 02-16-2009, 06:12 PM
  4. Showing User Forms Dynamically
    By ions in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-31-2009, 11:42 AM
  5. Help with auto-generating reservation forms
    By whoatethepies in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 02-06-2007, 10:12 AM

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