C
c1802362
Hello, everyone!
I have a strange problem on my Mac that has never materialized before.
I wrote some VBA code at work (PC running Win XP). I brought the code
home to my Mac (iMac G5, Excel 2004 (v11.0), VBA v11.0) and it
immediately bombed. What is strange is that the code which is blowing
up ' Selection.Copy' (returns a run-time error '1004' "copy method of
range class failed"), is pretty generic, so I reinserted the code using
the record macro function figuring maybe something was embedded in the
line that I couldn't see. No luck.
So I tried recording a generic macro on the Mac which copies some cells
then pastes them into another area of the worksheet. The code reads
identically to what was on the PC, but any attempt to run the macro
results in the same run-time error.
So, the question is: a) why won't a VBA command as basic as copy work?
and b) why won't a macro recorded in the native environment run
afterwards? It seems to me to be a software issue. Does Microsoft have
a patch?
Art
I have a strange problem on my Mac that has never materialized before.
I wrote some VBA code at work (PC running Win XP). I brought the code
home to my Mac (iMac G5, Excel 2004 (v11.0), VBA v11.0) and it
immediately bombed. What is strange is that the code which is blowing
up ' Selection.Copy' (returns a run-time error '1004' "copy method of
range class failed"), is pretty generic, so I reinserted the code using
the record macro function figuring maybe something was embedded in the
line that I couldn't see. No luck.
So I tried recording a generic macro on the Mac which copies some cells
then pastes them into another area of the worksheet. The code reads
identically to what was on the PC, but any attempt to run the macro
results in the same run-time error.
So, the question is: a) why won't a VBA command as basic as copy work?
and b) why won't a macro recorded in the native environment run
afterwards? It seems to me to be a software issue. Does Microsoft have
a patch?
Art