PC vs Mac

miami2k

Board Regular
Joined
Nov 1, 2017
Messages
58
Dear All,
I wrote a code in vba for PC with a simple userform that collect informations and copy them in a sheet.
One of the users switched to Mac and I'm not able to convert the code so she can use it.
These are the declarations in my file

Option Explicit


Sub workbook_Open()
TimeSheet.Show
Application.ScreenUpdating = False
ActiveWindow.WindowState = xlMaximized

End Sub

If I launch the file on Mac nothing happens. I've also tried to open the code but the prompt is completely different and I don't have a clue where to start... I don't see any code.
I've read somewhere that this might be due to libraries to load but I've not been able to make any step forward.

Any idea?


Thank you!


Andrea
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
You can't run VBA and VB codes on Mac.

Mac is completely a different Operating System. Best idea is; to tell her to buy a cheap laptop with MS Office loaded.
 
Upvote 0
If the user is using 2016 on a Mac, then I think you're out of luck. I'm pretty that version doesn't support userforms
 
Upvote 0
No conversion is necessary. VBA is supported in all versions of Office for Mac EXCEPT Office 2008. I tested this code in Excel 2016 and it ran without issue.
 
Upvote 0

Forum statistics

Threads
1,214,848
Messages
6,121,914
Members
449,054
Latest member
luca142

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top