Jim, it *IS* possible for an Excel file to crash Excel if there is VBA
inside. I have a potent example right here on my hard disk. See part of the
crash report after my signature.
The story of this file goes like that. I made a huge Excel add-in (xla file)
in Windows, with lots of user forms, modules and an Event class. I hoped to
run it on the Mac, but it doesn't, claiming a missing file. I tried to use
the xls version of the same add-in (saved as xls in Windows, not just
renamed on the Mac), but the same error message pops up, EVEN WITH MACROS
DISABLED. Then in Windows Excel (2000) I exported all modules, classes and
userforms to separate files. In Mac Excel (v.X) I tried to recreate the VBA
from the separate files. Somehow I managed to assemble it in a way that each
time I open the file Excel crashes, EVEN WITH MACROS DISABLED. Despite my
best efforts though, I haven't been able so far to create an identical file
that behaves the same way. On the other hand at one point I started getting
the message that my assembly contained version 4.0 macros. Weird!
I therefore believe that bporitz1's file contains some VBA and/or userforms
making Excel crash.
By the way, it's not possible to import userforms in the Mac's VBA. Bummer!
JL
Mac OS X 10.3.7, Office v.X 10.1.6
Part of the crash report:
Command: Microsoft Excel
Path: /Applications/Microsoft Office X/Microsoft Excel
Version: ??? (???)
PID: 591
Thread: 0
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000018
Jim Gordon MVP wrote on 2005/01/17 22:20: