PC vs Mac

miami2k

Board Regular
Joined
Nov 1, 2017
Messages
55
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
 

Some videos you may like

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.

Haluk

Rules Violation
Joined
Oct 26, 2002
Messages
1,075
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.
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
53,012
Office Version
  1. 365
Platform
  1. Windows
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
 

Jim Gordon Mac MVP

Board Regular
Joined
Jul 22, 2011
Messages
240
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.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,687
Messages
5,597,541
Members
414,154
Latest member
thevaper

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
Top