PC Review


Reply
Thread Tools Rate Thread

Create input box with 3 fields

 
 
sbitaxi@gmail.com
Guest
Posts: n/a
 
      28th Jul 2008
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
 
Reply With Quote
 
 
 
 
sbitaxi@gmail.com
Guest
Posts: n/a
 
      28th Jul 2008
Correction - despite the Subject, it is indeed 2 fields.

On Jul 28, 5:48*pm, sbit...@gmail.com wrote:
> 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


 
Reply With Quote
 
JLGWhiz
Guest
Posts: n/a
 
      28th Jul 2008
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.

"(E-Mail Removed)" wrote:

> 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
>

 
Reply With Quote
 
sbitaxi@gmail.com
Guest
Posts: n/a
 
      31st Jul 2008
On Jul 28, 5:59*pm, JLGWhiz <JLGW...@discussions.microsoft.com> wrote:
> 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.
>
> "sbit...@gmail.com" wrote:
> > 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


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

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Input from Form, Create fields for Query which joins them with lis =?Utf-8?B?ZnJhbmtz?= Microsoft Access Form Coding 6 30th Aug 2007 04:06 PM
create template with certain fields to input information only =?Utf-8?B?QW5uZXR0ZQ==?= Microsoft Excel Worksheet Functions 2 19th May 2006 03:54 PM
Create fields based on input? =?Utf-8?B?VGFyYSBKb2huc29u?= Microsoft Access Forms 3 8th Jun 2005 04:08 AM
posting data from text input fields to fields later in document =?Utf-8?B?Qk9C?= Microsoft Word Document Management 1 23rd Nov 2004 06:19 PM
search input fields, login fields, etc remember information Dave Windows XP Internet Explorer 0 19th Aug 2004 05:44 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:23 AM.