b.tomlinson
New Member
- Joined
- Aug 25, 2004
- Messages
- 4
I am currently writing a VBA app in excel and a part of it's required functionality is to forward data to an external apps specific field. Currently it uses Appactivate + sendkeys to call up the app window and then tabs to the required field (the window itself consists of about 5 fields, then the usual ok / cancel / etc) and forward the text to the field.
Is there a combination of API calls or native vba call that would allow me to forward data directly to the field using the windows handled and ControlID of the field? It would reduce the chance of user generated error if i could force the information directly rather than relying on sending tabs via sendkeys.
I've looked everywhere but cant seem to find a way to impliment this! I don't know enough about the API etc at this stage to know the specific functions I am looking for.
Re,
B.T
Is there a combination of API calls or native vba call that would allow me to forward data directly to the field using the windows handled and ControlID of the field? It would reduce the chance of user generated error if i could force the information directly rather than relying on sending tabs via sendkeys.
I've looked everywhere but cant seem to find a way to impliment this! I don't know enough about the API etc at this stage to know the specific functions I am looking for.
Re,
B.T