Hello
I'm new with VBA Excel.
Could somebody explain how it comes that this statement:
MyName = ActiveSheet.Name
does what I expect with office 97 on W2k
but does not work with Office2001 on Mac OS 9
It gives the following error:
Run-time error '32809':
"Application-defined or Object-defined error"
Many other things are working properly!
eg
MyName = ActiveWorkbook.Name
works on both Mac or PC
Variable "MyName" is declared as a string.
Thanks very much!
Bart
I'm new with VBA Excel.
Could somebody explain how it comes that this statement:
MyName = ActiveSheet.Name
does what I expect with office 97 on W2k
but does not work with Office2001 on Mac OS 9
It gives the following error:
Run-time error '32809':
"Application-defined or Object-defined error"
Many other things are working properly!
eg
MyName = ActiveWorkbook.Name
works on both Mac or PC
Variable "MyName" is declared as a string.
Thanks very much!
Bart