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

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
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,223,214
Messages
6,170,771
Members
452,353
Latest member
strainu

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