E
Edwin Tam
After doing at least 800 times of experiment, I come up with the following
conclusion:
If an Excel file containing VBA code is saved in Excel 2004, there is
possibility that
1) on execution of the macro, Excel 2004 will quit unexpectedly; or
2) on loading of the file via VBA, Excel reports a "Invalid data format"
error.
For (1), the possibility will increase dramatically if the file contains
UserForm(s).
Also, for (2), the chance will further increase if the file was saved as an
"Excel Add-In".
For (2), the file contains no data at all, and the VBA code is perfectly
correct with no compile error.
However,
- such problematic files won't crash Excel X.
- If the files are re-saved in Excel X (e.g. the Excel Add-In is re-created
in Excel X), there is high possibility that the problem will solved. (But
this is not guaranteed.)
(BTW, I do not used to post such type of messages here. I used to sent
direct to MS. But since "someone" from MS recently suggested me to post to
the newsgroup, I have no choice. Hope they'll read this...)
Regards,
Edwin Tam
(e-mail address removed)
http://www.vonixx.com
conclusion:
If an Excel file containing VBA code is saved in Excel 2004, there is
possibility that
1) on execution of the macro, Excel 2004 will quit unexpectedly; or
2) on loading of the file via VBA, Excel reports a "Invalid data format"
error.
For (1), the possibility will increase dramatically if the file contains
UserForm(s).
Also, for (2), the chance will further increase if the file was saved as an
"Excel Add-In".
For (2), the file contains no data at all, and the VBA code is perfectly
correct with no compile error.
However,
- such problematic files won't crash Excel X.
- If the files are re-saved in Excel X (e.g. the Excel Add-In is re-created
in Excel X), there is high possibility that the problem will solved. (But
this is not guaranteed.)
(BTW, I do not used to post such type of messages here. I used to sent
direct to MS. But since "someone" from MS recently suggested me to post to
the newsgroup, I have no choice. Hope they'll read this...)
Regards,
Edwin Tam
(e-mail address removed)
http://www.vonixx.com