By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,894 Members | 2,193 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,894 IT Pros & Developers. It's quick & easy.

Windows RUN entry through Access VBA

P: n/a
Is there a way to use VBA code in an Access 2000 database to duplicate
the task of opening the RUN window in the Windows START menu, entering
text and hitting OK?
Any help is appreciated.
lq
Nov 12 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Use the 'Shell' command like so:

RetVal = Shell("cmd")

Where RetVal is variable indicating whether the command was successful (for
more info see Access help)

hth

~Ben

"Lauren Quantrell" <la*************@hotmail.com> wrote in message
news:47*************************@posting.google.co m...
Is there a way to use VBA code in an Access 2000 database to duplicate
the task of opening the RUN window in the Windows START menu, entering
text and hitting OK?
Any help is appreciated.
lq

Nov 12 '05 #2

P: n/a
Look at Shell in Help.

Regards

Peter Russell
Lauren Quantrell previously wrote:
Is there a way to use VBA code in an Access 2000 database to duplicate
the task of opening the RUN window in the Windows START menu, entering
text and hitting OK?
Any help is appreciated.
lq


Nov 12 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.