Hello MrExcel-Forum,
I have a few questions about running macros with VBACode on Mac:
in another thread I could find a few rules to respect:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
1) Avoid use of reverse-slash as a path separator. Instead, use Application.PathSeparator
2) Don't use chr(10) or chr(13) or whatever constitutes a 'new line' on a specific platform.
Use vbNewLine. Similarly, use other available VBA mnemonics such as vbNull.
This transfers to the computer the responsibility of correct hex codes.
3) Minimize the amount of 'hard coding' of anything.
For example, use LBound(array) and UBound(array) to get array limits
4) Many recommend the use of 65536 as a hard-coded value for the number of rows.
The most frequent example is (partially correct) code to find the last used cell in a column as in Cells(65536,1).End(xlUp).
The more flexible (and still only partially correct) alternative is Cells(Rows.Count,1).End(xlUp).
5) Use Application.OperatingSystem to figure out what OS the code is executing under.
Also, use the Environ function to further interrogate the OS configuration.
>>>>>>>>>>>>>>>>>>>>
But a few more questions , I'm a littele confused:
-Are there restrictions on using the CommonDialog in Userforms?
-How working with .path or .folder ? (documents stored in Mac)
-Are any changes in actions like : Activewindow.close or application.quit
or : ActiveWorkbook.Close False ?
or in displaying like : Application.DisplayAlerts = True
I have no Mac to test my macros issued from a WinPC with Excel2003,
so before sharing my ExcelApplications, I would like to the known restrictions.
It is my first post, hope I'm not to wrong here
Greetings & THX for your reply