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

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
I noticed a mistake in terminogy. I meant, is it possible to rename the worksheet ,not the workbook based on the filter criteria?

Thanks,
 
Upvote 0

Forum statistics

Threads
1,214,806
Messages
6,121,667
Members
449,045
Latest member
Marcus05

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