This might be very very simple (hopefully).
I have an application named Vantive. I need to use the sendkeys command to input the value of the Event # field from the frmNewCalls form.
Here's what I've got:
Private Sub cmdSendEventToVantive_Click()
Dim Vantive
AppActivate "GCS Event Tracking"
SendKeys "{F10}" + "{DOWN}" + "{RIGHT}" + "{DOWN}" + "{ENTER}" + "{TAB, 2}" + "{=[Forms]![frmNewCalls]![Event #]}", True
End Sub
Now, you see the "{=[Forms]![frmNewCalls]![Event #]}" bit... that doesn't work...
Do you know what would work?
Help will be appreciated!
I have an application named Vantive. I need to use the sendkeys command to input the value of the Event # field from the frmNewCalls form.
Here's what I've got:
Private Sub cmdSendEventToVantive_Click()
Dim Vantive
AppActivate "GCS Event Tracking"
SendKeys "{F10}" + "{DOWN}" + "{RIGHT}" + "{DOWN}" + "{ENTER}" + "{TAB, 2}" + "{=[Forms]![frmNewCalls]![Event #]}", True
End Sub
Now, you see the "{=[Forms]![frmNewCalls]![Event #]}" bit... that doesn't work...
Do you know what would work?
Help will be appreciated!