Run-time error '1004'

D

Dkline

If I open any Excel file by double-clicking on the file in Windows Explorer
when Excel is NOT already running, I get a Microsoft Visual Basic error:

"Run-time error '1004'

"Cannot edit a macro on a hidden workbook. Unhide the workbook using the
unhide command."

If Excel is already open, opening the same file does not produce this error.

I have verified that there are no workbooks to unhide. I am not running
Visual Basic. I'm just trying to open a plain-vanilla, "nothing hidden
behind the curtain" file.

Knowledge Base didn't offer anything particularly useful.

What else could be causing this error?
 
D

Dave Peterson

I think you are running something behind that curtain.

And that curtain could be hiding stuff in your XLStart folder or in tools|addins
or even in a registry setting.

Here's a link that points at Chip Pearson's notes to help diagnose startup
problems:

http://www.cpearson.com/excel/StartupErrors.htm

===
On the other hand, I bet you don't get the error if you start excel in Safe mode
(and then file|open your workbook).

Close excel
windows start button|Run
excel /safe

This disables lots of stuff--including that man behind the curtain!
 
Top