Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 85
Default How to rename workbook that I am editing without saving?

I know that I can rename a workbook that I am editing using Save As.

Is there any way to rename it without saving it?

Ideally, a "command". Alternatively, a macro.

After saving a workbook (ctrl-S), I want to "play" with it without
risking overwriting the saved file. I don't want to go to the trouble
of closing it, setting the read-only option on the file, and reopening
it. And I would prefer not to save another copy of the workbook under
a bogus name, which is the only way I know of to change the name (and
the file) of the workbook.

ActiveWorkbook.Name and ActiveWorkbook.ReadOnly both appear to be non-
settable.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 533
Default How to rename workbook that I am editing without saving?

Is there any way to rename it without saving it?

That's an oxymoron. The name of the file is its name on disk.

To do what you want conveniently though is simple. Customize your toolbars
by dragging the "Toggle Read Only" toolbutton onto one. After that all you
have to do after saving the workbook just click the Toggle button and Excel
will not let you save over it.

This toolbutton is found he View-Toolbars-Customize. And on the
Commands tab click File and scroll to the bottom of the list on the right.

--
Jim
wrote in message
...
I know that I can rename a workbook that I am editing using Save As.

Is there any way to rename it without saving it?

Ideally, a "command". Alternatively, a macro.

After saving a workbook (ctrl-S), I want to "play" with it without
risking overwriting the saved file. I don't want to go to the trouble
of closing it, setting the read-only option on the file, and reopening
it. And I would prefer not to save another copy of the workbook under
a bogus name, which is the only way I know of to change the name (and
the file) of the workbook.

ActiveWorkbook.Name and ActiveWorkbook.ReadOnly both appear to be non-
settable.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
HOW DO I COPY AND RENAME A WORKBOOK LINKED TO OTHER WORKBOOKS rlh3 Excel Discussion (Misc queries) 1 January 2nd 08 04:49 PM
How to open a new workbook and rename the workbook? pokdbz Excel Discussion (Misc queries) 3 December 26th 07 03:37 PM
editing and saving worksheet rmold524 Excel Discussion (Misc queries) 9 October 3rd 07 05:34 PM
rename a group of spreadsheets in a workbook bob Excel Discussion (Misc queries) 1 October 2nd 07 05:21 PM
Auto Rename Excel Sheets in Workbook Kulin Shah Excel Worksheet Functions 12 December 25th 06 03:27 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"