Excel macro sendkeys problem

Post anything related to mainframes (IBM & UNISYS) if not fit in any of the above categories

Excel macro sendkeys problem

Postby YIMMY » Mon Nov 15, 2010 3:23 am


I'm a mainframe newbie, hence I had no idea which part of the forum to post this in. Please move my post if I have posted in the wrong section.

I've been trying to write a piece of code in excel vba which uses the sendkeys command to send keyboard strokes to a personal communications 5250 session.
I've looked at the following appendix of sendkeys mnemonics:

But I haven't been able to find anything for the escape key.
Is there a way to 'send' the escape key?

Thanks in advance!
Posts: 1
Joined: Mon Nov 15, 2010 2:43 am
Has thanked: 0 time
Been thanked: 0 time

Re: Excel macro sendkeys problem

Postby dick scherrer » Mon Nov 15, 2010 6:22 am

Hello and welcome to the forum,

If you find a way to send this "escape" to the mainframe, what should the mainframe do with it?

There is/was no Escape Key on the 3270 keyboard (unless my memory has faded) and i cannot find the definition of an Escape Key on the 5250 keyboard.

On several 3270 emulators the Attention or Clear functions are mapped to the PC Escape key.

If you clarify what you want to accomplish, someone may have a suggestion.
Hope this helps,
User avatar
dick scherrer
Global moderator
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Return to All other Mainframe Topics


  • Related topics
    Last post