Create input box with 3 fields

S

sbitaxi

Hello:

I'm trying to create a report filtering tool in Excel and want an
InputBox with 2 fields generated from a macro. It is going to be used
to limit dates to a specific range specified by the user, Month and
Year. I could use two different inputboxes but I'd prefer it was one
form with two Combo Boxes for consistent data entry.

How do I call on a combo box and set the valuelist without usering
values in a worksheet?

How do I use the values selected by the User in a combobox field?


Thank you for your help!


Steven
 
J

JLGWhiz

The inputbox method and inputbox function only allow a single field entry.
They cannot be modified since they are part of the VBA software package. As
for loading the combobox without using a worksheet range, you can use either
the AddItem method or the List method. See VBA help file for details on
these two methods.
 
S

sbitaxi

The inputbox method and inputbox function only allow a single field entry..  
They cannot be modified since they are part of the VBA software package.  As
for loading the combobox without using a worksheet range, you can use either
the AddItem method or the List method.  See VBA help file for details on
these two methods.

JLGWhiz, thank you, I decided to use two prompts for now.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top