JE McGimpsey said:
Macros in WinXL and MacXL are 95% compatible. Unfortunately, sometimes
the 5% gets esoteric.
The big items:
Macs do not do ActiveX. Any ActiveX control will not work in MacXL.
I/O syntax is a little different.
All Mac versions use VBA5 (equivalent to WinXL97). VBA6 code will have
to be conditionally compiled, or separate routines added to implement
the VBA6 functions.
Windows API calls will obviously not work.
I make part of my living writing cross-platform compatible code - it can
be done. If you post back with more description I'm sure we can sort
things out.
Thanks for your reply.
The program is an Excel Workbook. Upon opening the workbook, a bunch
of metafiles are opened/converted, then I'm presented with an "Compile
Error in Hidden Module: OrBoProModule". I can click "ok". I'm
presented with the face sheet, which looks identical to the Windows
program (I tried working with it on a Windows computer). There are
many graphics, and "links" to scripts (it's a patient case-list
program, where I need to collect data of patient information, organize
it, and print it out in a certain format). None of the scripts seem
to work, meaning if I press on one of the graphics (say, the "Edit
candidate data" button, where I input my name, ID #, etc), I'm
presented with the proper window opening, but any information I type
in is not accepted, and when I press the "ok" button, I'm presented
with a "Runtime error '57121'" "Can't exit design mode because Control
'chkProtect' cannot be created". Each button that I press on gives me
a similar error message. There are a few buttons that present a
window which is supposed to list a variety of categories from which I
can choose, but none of the categories shows up in the window (I only
know this because it works on the Windows computer). I also can't
save anything, and the only way to exit the program is to close the
window with the red widget in the upper left hand corner. Basically,
it looks decent, but I just can't run anything.
Any suggestions?
btw, the company that wrote the program is interested in coming up
with a Mac compatible version...