Not working in Mac 2011

stevevehns

New Member
Joined
Jul 23, 2015
Messages
2
Hi, this code works perfectly on a PC (Excel 2010) but not on a Mac (Excel 2011)

AppActivate "GOOGLE CHROME", False​

Just trying to activate Chrome but I get the following error:

Compile Error: Wrong Number of arguments or invalid property assignment​

I have looked everywhere for a solution but can't figure out.

Appreciate any ideas you have. Thanks.
 
Last edited:

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
This will not work on Mac because it is a completely different operating system, and thus has different methods of opening programs.

look in the following link for an example of using shell to activate programs in OSX: http://www.mrexcel.com/forum/excel-questions/395115-appactivate-does-not-activate-application.html

Unfortunately when you build programs to be cross platform in excel you have to make a number of changes like this or when files are opened, etc. Really anything that goes beyond the scope of excel itself.

Hopefully this helps you.
Ray
 
Upvote 0

Forum statistics

Threads
1,214,894
Messages
6,122,124
Members
449,066
Latest member
Andyg666

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