How do I assign a Variable name to a workbook?

brockvilleal

New Member
Joined
Aug 19, 2004
Messages
47
I am working in one workbook and would like to assign it to a variable name so that I can open that same workbook later on. I know in which folder the file is located but when the file gets saved, it uses that day's date in the filename. So, how do I open that file with the changing name? I believe I need to assign the file to a variable name but there may be other ways of doing this.
 

Excel Facts

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

RalphA

Well-known Member
Joined
May 14, 2003
Messages
3,829
Perhaps you can save your workbook under its current name, then do a File, Save As, and save it with a new name. Now, you have two, identical files, with different ames. Is this what you are after?
 

Forum statistics

Threads
1,136,430
Messages
5,675,794
Members
419,586
Latest member
RoteichA

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