Jump to content

VBA Sendkeys to Legacy System


CVByrne

Recommended Posts

Right, I'm a bit baffled by this legacy system.

I'm reverse engineering a macro that has

MyScreen.SendKeys "" works fine as does and but nothing else works, even using {} or <> I can't understand why only three commands work.

As I said it's a legacy system I'm sending keys to using excel 2003

Link to comment
Share on other sites

I was action keys. I was trying to send Shift+Tab to move back up fields to the beginning of the legacy system page and tried everything. I used putstring and row column references instead but I needed to manually map where each field was and it was a bit time consuming. But it got the job done.

Link to comment
Share on other sites

Yeah it was baffling, only <> worked for three commands and none of the {} or worked at all. Was doing my head in.

Agree on hating vb. Unfortunately the financial addin we use is in excel and so we're stuck with it.

Link to comment
Share on other sites

It absolutely boggles the mind that trading desks at banks use Excel.

(though I suppose that it explains various events of recent years...)

((and it may also explain some of the alpha earned by hedge funds...))

Link to comment
Share on other sites

×
×
  • Create New...
Â