Shut down computer question.

D

Douglas J. Steele

I don't believe it's possible from a macro. I think you'll need to use VBA
code, and call the ExitWindowsEx API.

Randy Birch has a sample at
http://vbnet.mvps.org/code/system/exitwindowsex.htm

(Obligatory warning: Randy's site is aimed at VB programmers, so some of the
examples don't work as presented in Access due to differences in the Form
model between the two products. Looking quickly at this particular example,
though, I don't believe any changes are required to make it work as
presented in Access)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top