MAC Compatibility for VBA!

  • Thread starter Thread starter xonio
  • Start date Start date
X

xonio

Hi folks,

Any Windows/Mac experts to advise me if an Excel worksheet with VB
programming built into it is compatible at all with Excel for MA
computers? Mac computers seem to open the worksheet but not be able t
read the VBA coding. Is there a way to achieve this compatibility?

Thanks.

x
 
MacXL uses VBA5, so if your code works in XL97, it will likely work in
MacXL, with a couple of exceptions:

- MacXL does not support ActiveX, including ActiveX controls from the
Controls Toolbox - use Forms controls instead

- There are a (very) few syntax differences between Mac and WinXL VBA,
primarily to do with File I/O. In most cases, the differences are
ignored if possible, but some can cause run-time errors (e.g., the
Filefilter property in the GetOpenFileName method).

- SendKeys does not work in MacXL. SendMail doesn't either, though you
can find a simple workaround at

http://www.mcgimpsey.com/macoffice/excel/macexcelsendmail.html

And of course, if your VBA uses Windows API calls, they won't work on
the Mac.
 

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

Back
Top