Convert Windows VBA to Mac

tiredofit

Well-known Member
Joined
Apr 11, 2013
Messages
1,404
I have an Excel program written on a PC, which works as expected.

However, when a mac users runs it, they encounter an error:

Code:
Run-time error '429'

ActiveX component can't create object

1. Is this error message indicating my program contains ActiveX objects? I specifically added Shapes as buttons, not ActiveX buttons.

2. How easy is it to convert the program so that it can run on a mac?

Thanks
 

Some videos you may like

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.

tiredofit

Well-known Member
Joined
Apr 11, 2013
Messages
1,404
Yes, but it isn't necessarily anything to do with controls on a sheet.

Entirely depends on your code.
On my first point, what could it be relating to, if it's not about the controls on a sheet?
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
55,412
Office Version
  1. 365
Platform
  1. Windows
The main thing that springs to mind is CreateObject which is ActiveX.
 
Solution

tiredofit

Well-known Member
Joined
Apr 11, 2013
Messages
1,404

ADVERTISEMENT

The main thing that springs to mind is CreateObject which is ActiveX.
Thanks.

I googled and realised my code contains a dictionary, even though it was late bound, it won't work on a mac.

On a similar note, I know ActiveX objects (like a button) aren't compatible between 32bit and 64bit versions of Excel.

If CreateObject was used in a 32bit program, would it work on a 64bit version?
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
55,412
Office Version
  1. 365
Platform
  1. Windows
As far as I know, but I've never used 64bit versions of Office.
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
55,412
Office Version
  1. 365
Platform
  1. Windows
You're welcome & thanks for the feedback.
 

Watch MrExcel Video

Forum statistics

Threads
1,127,340
Messages
5,624,106
Members
416,011
Latest member
chengkoonwing

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