Sendkeys is flaky and error prone, because you can't
ensure that your application will always have focus.
Also, you can't tell how long it might take to make
the ADE, so you have to go long, which makes it more
likely that you will forget and start something else
in the middle of the make. If that happens, the keys
will be sent to what ever application has focus.
Also, if you use Sendkeys, remember that Access will
unload your ADP to make the ADE, then reload it, so
your process will resume in the ADP start up code,
not continue in sequence.
Why do you want to run the code from inside the ADP?
Can you use a different ADP, or VBS or VB or VB.NET
or perhaps a wizard?
(david)