ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Do not want sheet renamed (https://www.excelbanter.com/excel-programming/308627-do-not-want-sheet-renamed.html)

Michael Wise[_8_]

Do not want sheet renamed
 
I am not wanting my sheet renamed to the file name. The sheet has bee
set to what the name needs to be but upon the save event it renames th
active sheet to match the filename. Any stops for this.
Michae

--
Message posted from http://www.ExcelForum.com


Michael Wise[_9_]

Do not want sheet renamed
 
? anyone

--
Message posted from http://www.ExcelForum.com


Tom Ogilvy

Do not want sheet renamed
 
If you save it as a workbook, this shouldn't happen. I suspect you are
saving it as something other than a workbook then reopening it. Since it
isn't a workbook, excel doesn't record workbook related changes you have
made (such as cell formatting or column widths or worksheet names). Thus
when you open it again, you are back where you started.

--
Regards,
Tom Ogilvy


"Michael Wise " wrote in
message ...
I am not wanting my sheet renamed to the file name. The sheet has been
set to what the name needs to be but upon the save event it renames the
active sheet to match the filename. Any stops for this.
Michael


---
Message posted from http://www.ExcelForum.com/




Michael Wise[_10_]

Do not want sheet renamed
 
Tom,
I guess im confussed a bit. Although it would be justified being tha
i'm new at this. The statement you make about saving as a workbook ha
me. In my code below my understanding would be that it is being save
as a workbook. Take a look and let me know, Thank you.

ActiveWorkbook.SaveAs ("J:\sdo common\wise\pce\reports\auto generate
reports\ " & Format(Date, ("mmm-dd-yy")) & " Weekly Compliance.xls")

Michae

--
Message posted from http://www.ExcelForum.com



All times are GMT +1. The time now is 08:48 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com