Thanks,
Bill
Do alt+F11 to go to the VBE (visual basic editor). You should see the
project explorer on the left hand side. It should have a tree like figure
(kind of like windows explorer) with each sheet listed - showing the name
you can see on the sheet tab and next to it the code name. If you are
seeing names like Sheet1111111111111111111 then this could be your
problem.
Make a copy of your workbook so you are sure you won't lose any data. Then
in the copy, go to the VBE again, click on the Master worksheet name in the
project explorer and look at the properties window (if it is not visible,
hit F4). The first entry is the codename shown as (name). You can try
changing it to a totally new name. Then close and save the workbook. Then
open it and see if you can copy the master sheet.
This article talks about doing it with code, but it can happen manually as
well.
http://support.microsoft.com/support/kb/articles/Q177/6/34.ASP
XL97: Copy Method of Sheets Object Causes Invalid Page Fault
You aren't changing the name with code, so this shouldn't pertian, but it is
one reason I said to work on a copy of the file.
http://support.microsoft.com/support/kb/articles/Q172/5/00.ASP
XL97: Unable to Open File After You Change Code Name of Sheet
Regards,
Tom Ogilvy
Bill Wittmer <wwit...@nospam.home.com> wrote in message
news:3A60ED01...@nospam.home.com...
After you recover your workbook with Tom Ogilvy's advice, you might want to
think about doing a few things to keep it from happening again. I have
created several worksheets that work very much like what you described.
Here's how I handle them.
Turn the Master Manpower Sheet into a template (.xlt). Instead of copying
the sheet, open the workbook where you need the sheet, click New & open your
template. Move the new sheet into the workbook, rename it, & proceed as
usual.
Monthly, move one month's worth of sheets into a workbook named January
2001, or whatever you want. You still have them collected in a workbook to
minimize clutter, but they aren't garbaging up your active workbook.
Eventually you could even archive these onto CD-R or disks or something, if
necessary.
Although the procedure you describe works OK, it tends to make your file too
large, & the repeated copying seems to introduce file corruption that will
jeopardize your data, as you have discovered.
Susan
"Bill Wittmer" <wwit...@nospam.home.com> wrote in message
news:3A60ED01...@nospam.home.com...
Thank you,
Billl
Thanks again,
Bill