run-time error

evinkainnerska

New Member
Joined
Apr 14, 2002
Messages
5
I have Win2K and office 2K. Whenever I start Excel 2000, and open up a file, I get a Microsoft Visual Basic error message box that says:
"Run-time error '5': Invalid procedure call or argument"

I get this error every single time I start Excel after having it closed. It then prompts me to either end or debug (debug is grayed out, it cannot be selected as an option), and after I click the end button, I can continue on without getting the error message again, until of course the next time I exit Excel, and then later start it again. This doesn't happen with any particular spreadsheet, in fact sometimes it will happen when I open up Excel and create a brand new worksheet with nothing in it. Anyone have any ideas as to what causes this? Any help is appreciated, thanks.

Kevin
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Hey,

Does this only happen with a file or 2 or all excel files (including new ones)? It certainly sounds like you have an unwanted macro (auto_open or the like). Open a blank file and if you get the error hit Alt+F8 and see if you have any macros you don't recognize.

You might also want to scope out your XLSTART folder for unwanted files. BTW, when was the last time you ran an anti-virus scan?

Hope that helps out somewhat,
Adam
 
Upvote 0
This is my computer at work. I run virus scan once a week, and all emails are scanned at the server for viruses before we receive them, so I don't think it's a virus. It happens all the time, even with a brand new blank file. There are some files in the xlstart folder, but they are files that are necessary in order for me to use some user-defined formulas that pull data from our billing system database.

thanks,
 
Upvote 0
i was mistaken when i said that there are files in the xlstart folder. the folder is empty, the files i was thinking of are stored in another location.

thanks,
 
Upvote 0
Hiya

Have you recently added anything new in the Add-ins window or installed any other software recently that might be contributing to this problem?

Adam
 
Upvote 0
to my knowledge, no, nothing has been installed that would be doing this. i don't have access rights to install new programs on my workstation, and the administrator said that nothing new has been installed for several weeks now, but this problem began happening only about two week ago.

thanks,
kevin
 
Upvote 0
On 2002-04-15 14:02, evinkainnerska wrote:
to my knowledge, no, nothing has been installed that would be doing this. i don't have access rights to install new programs on my workstation, and the administrator said that nothing new has been installed for several weeks now, but this problem began happening only about two week ago.

thanks,
kevin

Keven...check if you have any addins installed
Goto Tools > Addins
Have a look, and deselect ALL addins.
 
Upvote 0

Forum statistics

Threads
1,213,556
Messages
6,114,284
Members
448,562
Latest member
Flashbond

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top