Hello ,
How to write a script to press CTRL and Home keys to move from whatever cell to A1 cell in Excel?
I tried press and send, Press and press, holdkey... and non of them work
Please help.
Press CTRL and Home keys
Moderators: JRL, Dorian (MJT support)
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: Press CTRL and Home keys
Something like:
Adjust window title accordingly.
Better would be to use XLSelectRange
Code: Select all
SetFocus>Microsoft Excel*
Press CTRL
Press Home
Release CTRL
Better would be to use XLSelectRange
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?