#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default SendKeys

I have a worksheet that I have to change.
In the VBA code there is a row that I do not understand. Could
somebody please explain what the code those.
At this moment it stops the macro when I use it.

Application.SendKeys "%{F11}%TO+{TAB}{RIGHT 2}%E~%{F4}" 'Break on
Unhandled Errors

with regards,

Steven

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default SendKeys

Steven,

The SendKeys method is used to simulate keystroke. In this particular case,
it is a series of keystrokes to change error handling options for the VB
Project. SendKeys is notoriously unreliable.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting
www.cpearson.com
(email on the web site)

"Steven van Hell" wrote in message
ups.com...
I have a worksheet that I have to change.
In the VBA code there is a row that I do not understand. Could
somebody please explain what the code those.
At this moment it stops the macro when I use it.

Application.SendKeys "%{F11}%TO+{TAB}{RIGHT 2}%E~%{F4}" 'Break on
Unhandled Errors

with regards,

Steven


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SendKeys Help ajvasel Excel Programming 2 August 9th 06 04:48 PM
Always Sendkeys... Duncan[_5_] Excel Programming 0 May 4th 06 09:10 AM
SendKeys Mike Excel Programming 2 July 2nd 04 12:47 AM
Sendkeys GB[_3_] Excel Programming 0 September 16th 03 10:39 PM
SendKeys Ron de Bruin Excel Programming 3 August 25th 03 10:21 PM


All times are GMT +1. The time now is 06:03 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"