DavidCarrJaxFL
New Member
- Joined
- Sep 4, 2006
- Messages
- 3
I'll preface this by saying that I'm in no way trying to make history for having the weirdest Excel problem...
I have a rather complicated time tracking spreadsheet that contains 12 worksheets (one for each month) and a summary worksheet that compiles statistical data, such as average hours worked, allocation toward different projects in which I'm involved, average days per month, etc. It also tracks my business travel and does some stuff there too.
I keep all monthly worksheets locked (with selection of locked cells disabled) and run a Workbook_Open macro in order to (a) lock the worksheets in case it was left unlocked at the end of the last session and (b) put me on the worksheet for the current month based on the current date in the computer's clock.
I recently reinstalled Windows and Office 2003, and the Workbook_Open event on this spreadsheet stopped working. I have unloaded the only add-in that I have outside the scope of what ships with Excel (John's PUP6) to rule out that it might have been affecting it. Through a little testing, here's what I learned:
Beyond that, all I can determine is that this problem is limited to the Workbook_Open event and only in this spreadsheet and only on my machine.
As I mentioned, the spreadsheet is extremely complex and the last thing I want is to rebuild it. If anyone has any suggestions as to how I can remedy this, I'd love nothing more to try them!
Thanks,
Dave
I have a rather complicated time tracking spreadsheet that contains 12 worksheets (one for each month) and a summary worksheet that compiles statistical data, such as average hours worked, allocation toward different projects in which I'm involved, average days per month, etc. It also tracks my business travel and does some stuff there too.
I keep all monthly worksheets locked (with selection of locked cells disabled) and run a Workbook_Open macro in order to (a) lock the worksheets in case it was left unlocked at the end of the last session and (b) put me on the worksheet for the current month based on the current date in the computer's clock.
I recently reinstalled Windows and Office 2003, and the Workbook_Open event on this spreadsheet stopped working. I have unloaded the only add-in that I have outside the scope of what ships with Excel (John's PUP6) to rule out that it might have been affecting it. Through a little testing, here's what I learned:
- I can create a new spreadsheet and add a Workbook_Open procedure to ThisWorkbook and it runs fine, so it's not my actual Excel installation.
- I can drop this spreadsheet on the LAN and move to my girlfriend's computer, open it, and the Workbook_Open event runs fine, so it's not the spreadsheet itself.
- I can manually run the code from the VBE, so it's not a syntax issue that miraculously escaped the error process during compilation.
Beyond that, all I can determine is that this problem is limited to the Workbook_Open event and only in this spreadsheet and only on my machine.
As I mentioned, the spreadsheet is extremely complex and the last thing I want is to rebuild it. If anyone has any suggestions as to how I can remedy this, I'd love nothing more to try them!
Thanks,
Dave