Solved

Excel VBA: Creating dynamic dialog box

Posted on 2001-07-16
4
359 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

856 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