Solved

Excel VBA: Creating dynamic dialog box

Posted on 2001-07-16
4
366 Views
Last Modified: 2008-03-10
I have a UserForm that takes input from the user and I need to create a dialog box that will appear after the UserForm is filled out and the content will be based on input from the UserForm, i.e. a list of row options will be given for the number of rows specified in the first UserForm.  Any code examples . . .
0
Comment
Question by:robjay
  • 2
4 Comments
 
LVL 2

Accepted Solution

by:
TrueDrake earned 100 total points
ID: 6286513
Hi,

It seems that you are using Excel.
I would put option buttons and I would place the resulting choice in a cell of a sheet. I would then do whatever I wanted depending of this cell's value.
Enjoy
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6286600
Maybe creating a public sub in a module that should be fill some variables with user input data and, when load second form/dialog, reading contents of those vars.
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 6286609
Or you could add properties to dialog form and fill them with values from user input.
0
 

Author Comment

by:robjay
ID: 6314097
Looks like this is the best choice.  Thanks!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question