Page 1 of 1

Excel macro sendkeys problem

PostPosted: Mon Nov 15, 2010 3:23 am
by YIMMY
Hi,

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:
http://publib.boulder.ibm.com/infocenter/pcomhelp/v5r9/index.jsp?topic=/com.ibm.pcomm.doc/books/html/host_access05.htm

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!

Re: Excel macro sendkeys problem

PostPosted: Mon Nov 15, 2010 6:22 am
by dick scherrer
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.