I'm trying to DIM out a string variable and then use it in a send keys.
I can't seem to get he syntax correct for the sendkeys using the AccountMSCD variable.
For example:
DIM AccountMSCD as string
'Getting a variable from PComm using VBA.
AccountMSCD = objECLPS.GetText(7, 36, 6)
‘Trying to send that string but I can't get the syntax correct.
objECLPS.SendKeys = (AccountMSCD, 6, 16)
'Getting a variable from PComm using VBA.
AccountMSCD = objECLPS.GetText(7, 36, 6)
‘Trying to send that string but I can't get the syntax correct.
objECLPS.SendKeys = (AccountMSCD, 6, 16)
Thank you.