A couple of days ago, I placed a workbook in the XLSTART folder so it would open as soon as Excel opens. The workbook's Open event had code which shuts the computer (windows) down. I did this because I wanted an automatic way to shut down the pc while I was sleeping - another application was running, and once its process was complete, it would open Excel and Excel would shut the pc down.
My problem now is that even though I have deleted the workbook from the XLSTART folder, the computer still shuts down every time I open Excel! I've tried holding down Shift while double-clicking the Excel.exe file, but it still shuts down. I also tried putting a new workbook in the XLSTART folder, but it still shuts down.
Does anyone know why Excel seems to be running the code from the 'shutdown' workbook even though that workbook was deleted? And is there any way (aside from reinstalling Office) that I can stop Excel from shutting down the computer?
Tim
My problem now is that even though I have deleted the workbook from the XLSTART folder, the computer still shuts down every time I open Excel! I've tried holding down Shift while double-clicking the Excel.exe file, but it still shuts down. I also tried putting a new workbook in the XLSTART folder, but it still shuts down.
Does anyone know why Excel seems to be running the code from the 'shutdown' workbook even though that workbook was deleted? And is there any way (aside from reinstalling Office) that I can stop Excel from shutting down the computer?
Tim