Is there an alternative to Sendkeys for the Mac? - REALLY NE

willlobb

Board Regular
Joined
Mar 29, 2002
Messages
103
On a PC you can use the SendKeys function, is there an alternative to this for applemac? I need to switch from one workbook to another (by using the Alt+Tab keys) is there any way to do this on a mac?
This message was edited by willlobb on 2002-04-04 04:08
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Do you know the names of the open workbooks?

Thisworkbook.Activate
Workbook("name.xls").Activate

should do what you want rather than using SendKeys.

Regards,
Jay
 
Upvote 0
The name depends on the value of a cell. It opens OK. eg, it opens "Transactions For Week " & Range("Week1Date"), but then i need it to switch between that workbook and another one that is open. Also, i have an email macro, and it uses the shortcut key Alt+S (send in outlook express)to send the emails, how would i be able to do this? Is it possible?
Thanks
Will
 
Upvote 0

Forum statistics

Threads
1,214,823
Messages
6,121,779
Members
449,049
Latest member
greyangel23

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