VBA macro doesn't work on my Mac

damav78

Board Regular
Joined
Sep 29, 2024
Messages
56
Office Version
  1. 2021
Platform
  1. Windows
  2. MacOS
Hi I am using an excel file running a vba macro. The macro code works fine on my windows pc but it doesn't work on my Mac although I have enable all macros from excel preferences.
Anyone could help??
Thank you
 
ok.... so can you test it on Mac to see how its going on to you? If the code is there... if you can save the file etc..???
I'll have a look when I am on site at the end of the week (but doesn't explain why you can't see the code)
 
Upvote 0
I'll have a look when I am on site at the end of the week (but doesn't explain why you can't see the code)
I know... its strange. Check it on your Mac to see what will happen... will you be able to view the code, save file etc. This is what I see in my mac:
 

Attachments

  • Screen Shot 2025-02-25 at 3,19,12 AM_resized.png
    Screen Shot 2025-02-25 at 3,19,12 AM_resized.png
    146.6 KB · Views: 12
Upvote 0
I see the same on Mac. It appears to be a language issue. If I download the workbook in Windows, change the sheet codenames to use English names rather than Greek, and then save and reopen that workbook on the Mac, it all looks fine.
 
Upvote 0
I see the same on Mac. It appears to be a language issue. If I download the workbook in Windows, change the sheet codenames to use English names rather than Greek, and then save and reopen that workbook on the Mac, it all looks fine.
But the file I upload is only in English language. There is no greek on it
 
Upvote 0
But the file I upload is only in English language. There is no greek on it
There is when I open it on my PC, see below

1740484789987.png


Which gives the below in the sheets properties, note the question marks in the codename

1740486447352.png
 
Last edited:
Upvote 0
There is when I open it on my PC, see below

View attachment 122711

Which gives the below in the sheets properties, note the question marks in the codename

View attachment 122712
I open the file from my windows pc. Those are the names of the sheets but for some reason are in greek. Probably because I have create the file when I had the default language of excel in greek.
When I rename them it works fine I think.
Does all the false fields have to be true? Because even if I rename the sheets those are still false.
Except from this... I have greek language in my tables names, columns etc. do I have to change them too?
 
Upvote 0
Does all the false fields have to be true?
No, they are dependent on what properties you want the worksheets to have and are options.

I have greek language in my tables names, columns etc. do I have to change them too?
I can't really answer that as I work in an English version, in general it is more of an issue in VBA than on a worksheet as it is dependent on the VB editor recognising the characters and it doesn't really like anything not in American English.
Main Excel can normally handle the regional settings.
 
Upvote 0

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