Hi
I have approx 250 rungs of very similar code i need to type. It is a cheap IDEC plc.
I have an excel table of the bits i need to type and was trying to use send keys to type my code but it did not work...any ideas?
The App opens but the keypress A does not work... If i then press A on the keyboard it works as expected.
I am looking for a method of sending string data/ enter keys/ etc to the programming app.
I have approx 250 rungs of very similar code i need to type. It is a cheap IDEC plc.
I have an excel table of the bits i need to type and was trying to use send keys to type my code but it did not work...any ideas?
The App opens but the keypress A does not work... If i then press A on the keyboard it works as expected.
I am looking for a method of sending string data/ enter keys/ etc to the programming app.
Code:
'excel macro
Sub IDEC()
AppActivate ("WindLdr - [0 Subroutine]") 'open sub 0 , alarms
Application.Wait (Now + TimeValue("00:00:10")) 'wait 10 secs
Application.SendKeys "A", True 'send A to activate XIO contact
End Sub