Joe
2007-03-14 12:50:54 UTC
I know that VBA has the ability to send keystrokes to another program,
even if that program isn't programmed to work with VBA. I want to do
this so that I can do some simple programming on AutoCAD LT 2000.
I know I could write the AutoCAD commands to a text file, and then
manually run it as a script from inside Acad LT, but I want to
automate that process.
Another desire (although it is a low priority one) is to read some of
the results of List command. Eg. I send AutoCAD the commands to list
a particular
I can assume that the Acad LT is already open, and the dwg I want to
use is also already open.
The problem I have, how to tell Excel's VBA which program window to
use with the SendKeys statement. Can someone give me a specific
example of how to do this?
Joe Dunfee
even if that program isn't programmed to work with VBA. I want to do
this so that I can do some simple programming on AutoCAD LT 2000.
I know I could write the AutoCAD commands to a text file, and then
manually run it as a script from inside Acad LT, but I want to
automate that process.
Another desire (although it is a low priority one) is to read some of
the results of List command. Eg. I send AutoCAD the commands to list
a particular
I can assume that the Acad LT is already open, and the dwg I want to
use is also already open.
The problem I have, how to tell Excel's VBA which program window to
use with the SendKeys statement. Can someone give me a specific
example of how to do this?
Joe Dunfee