User Input and export to a new worksheet

beginner_2win

New Member
Joined
Sep 6, 2006
Messages
1
Hi all,

How do you create a button in excel 2004 for a macro that will take in a variable from the user and output the result? For example, I have a worksheet with all the information such as, Date, School, Ambassador, Student, First Name, Last Name.,etc. Basically what I want to do is have the user input the the school name or date or ambassador and the search result should spit all the relevant information on the search on a New worksheet.

I'm thinking about having a menu box with opiton to select the crietera.

For Instance...

Ambassdor
Date
School
Student


So, if a user select "Ambassdor" he/she can then enter the value like "John" and do a search and spit out all the relevant info in a New Work sheet.

Please Advise,
Beginner

Thanks,
Beginner
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Forum statistics

Threads
1,171,463
Messages
5,875,658
Members
433,145
Latest member
nzltrippa

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top