Excel Property Name Corrupted

jfllmartin

New Member
Joined
Jan 31, 2011
Messages
3
I have an Excel 2003 spreadsheet with a macro that makes a copy of the last sheet and does some minor updating of the data to prepare for the next day's entries. I change the sheet tab name to the calendar date. I have this in a number of our remote locations working fine. There is one location where the file seems to have a bug in it. The internal sheet name (VBA Properties) does not increment normally. So instead of Sheet66 as the sheet name, I get Sheet661, then Sheet6611, Sheet66111, and so one until the name is too long and brings up an error message. I cannot seem to find any else who has this problem Thanks
 
Last edited:

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Thanks for your reply Andrew. My original post notes I am using Excel 2003. My code is not looping. The user clicks a button (usually only once a day) that does the following:

Sheets(Sheets.Count).Activate
With ActiveSheet
.Unprotect
.Select
.Copy After:=Sheets(Sheets.Count)
.Protect
End With
...more code
 
Upvote 0
Andrew,

I finally found out they are using Excel 97, so your reference to Microsoft is exactly right. Somehow I need to get them on to a newer version. Thank you for your time and effort with this.
 
Upvote 0

Forum statistics

Threads
1,223,244
Messages
6,170,976
Members
452,372
Latest member
Natalie18

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