So, let's say that I have a VBA application inside of whatever Office Application. I have created a command-line VB.net program to do all of the fun web-services stuff.
Okay, the VBA application calls Shell()
to run the command line program. Now, what is the best way to get information (a tracking number for a package) from the VB.net program back into the VBA program?
My thoughts on the issue so far include:
- Writing the number with
Console.Write
and then somehow extracting it in VBA - Or, using some kind of external interface (like a database or file system) to number the data and then get it out in VBA.
Any thoughts on this?