Hi Rod,
I have no idea why SendKeys daes not work.
But I think SendKeys solution is insecure.
If you wuld like to handle "LOG OFF", "REBOOT" or "SHUTDOWN", please
try this code.
http://www.interq.or.jp/sun/puremis/colo/code/048.htm
---
Message posted from
http://www.ExcelForum.com/