Martin,
Make sure you have the latest Service Packs for both Excel/Office 2000 and
WindowsXP.
Also, one of the following remedies may help.
(The one about renaming your .xlb files and restarting is probably your best
bet.
Be aware that will remove any custom changes to your toolbars.)
'------------------------------------------------------------------
Jan Karel Pieterse 10/18/2002
public.excel.crashes
"Crashes on Exit "
- Try opening Excel without any addins or hidden workbooks:
Start, Run,
"C:\Program Files\Microsoft Office\Office\Excel.exe" /Automation
Quotes mandatory, Note you may have to change the path.
If your error disappears, there is either an add-in or a
(hidden) workbook that is loaded upon XL's start, which bothers you.
- Try locating the XLSTART directory, move everything from there.
- In XL: Tools, Addins, note the ones checked and uncheck
them one at the time, each time restarting XL
- In XL, Tools, options, general.
Check if a path is entered after "Alternate startup file location". Clear it.
- Another option is to open XL in Safe mode:
"C:\Program Files\Microsoft Office\Office\Excel.exe" /Safe
- Also, you might try:
"C:\Program Files\Microsoft Office\Office\Excel.exe" /Regserver
'========================================================
- Yet another possible problem is a corruption of your toolbar customisation
file.
Locate all files with extension .xlb and rename the extension(s) to something
like .old
Now try and start XL again.
'========================================================
- Also, NAV has shown to cause "Excel caused an invalid page fault in module
VBE6.DLL".
You might try disabling the Office plug in of NAV.
- Other causes may be a full TEMP folder:
In Windows 95/98 and ME delete all files in C:\Windows\Temp
In Windows NT/2000/XP find and Select C:\Documents and Settings\<user>\local
settings\temp
and delete all files in there.
They are often left behind by installing programs but Excel needs the space.
- This is what MS has to say about startup problems:
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q280504
- And this about startup switches:
http://support.microsoft.com/default.aspx?scid=KB;en-us;q211481
'---------------------------------------------------------------------
Regards,
Jim Cone
San Francisco, CA
Martin Wheeler said:
Hi Jim,
Thanks for the reply, sorry for being so long in getting back.
I do not get to the stage of writing any code. Excel crashes when I press
enter after entering the new procedure name in the box of the Insert,
Procedure commands.
Excel is now crashing sometimes when I exit Excel.
Any ideas?
Ta,
Martin
- snip -