VB in Excel: PC to Mac problems

J

Jeff Melkonian

Hi,
I wrote some vb code using Excel 2002. A user tried
running the code in Excel for Mac (PowerBook G4 with OS X)
and got the following error message: "Compile error in hidden
module: ThisWorkbook". Does anyone know how to fix this
error and, more generally, what other problems might occur
when trying to run vb code on a Mac when that code was
developed in Excel 2002?

Thanks,

Jeff Melkonian
..
 
J

JE McGimpsey

MacXL uses VBA 5, so any VBA6 commands you use, you'll either need to
add in (conditional compilation) or rewrite.

MacXL doesn't support ActiveX. Replace ActiveX controls with controls
from the Forms toolbar.

There are a few syntax differences, mostly in the File I/O area (e.g.,
the FileFilter property of the GetOpenFileName method).


Jeff Melkonian said:
I wrote some vb code using Excel 2002. A user tried
running the
code in Excel for Mac (PowerBook G4 with OS X) and got the following error
message: "Compile error in hidden
module: ThisWorkbook". Does anyone know
how to fix this
error and, more generally, what other problems might occurwhen trying to run vb code on a Mac when that code was
developed in Excel

Thanks,

Jeff Melkonian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top