Is this possible in a macro?

booey

New Member
Joined
Dec 5, 2005
Messages
2
Hi,

I imagine my questions is possible, but I am not sure how to do it since I am fairly new to macros.

I have spreadsheets that I need to do an autofilter on and then cut/copy and paste the filtered results to a new workbook. That is simple enough, but is it possible to run a macro that prompts the user for the filter criteria and then prompt again on what to rename the workbook to once the data has been pasted? Or is it possible to automatically rename the workbook with the same name as the filter criteria?

Thanks a lot for the help.
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

booey

New Member
Joined
Dec 5, 2005
Messages
2
I noticed a mistake in terminogy. I meant, is it possible to rename the worksheet ,not the workbook based on the filter criteria?

Thanks,
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,995
Messages
5,834,779
Members
430,321
Latest member
yemisimi11

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