I have a weird problem that only shows up on one machine (go figure)..... When I open the excel file I run a subroutine to do a couple of things: 1) Display a message (text in a cell of a worksheet) 2) and unhide all the worksheets by calling the ShowAllSheets sub routine. I do this so if Macro's are not enabled all you see is the welcome sheet that says "Enable macros"
My code works great on all machines I've tried it on but one. On one machine I get the following error "Runtime error 1004 Activate method of worksheet class failed". The runtime error is associated with this line of code "ActiveWorkbook.Sheets(AdminWorksheet).Activate" Like I said everything works fine except on this one machine. Any ideas would be greatly appreciated?
The code this pertains to is below:
Bookmarks