Hi Adam
I ve tried the sendkeys "{enter}"..& it doesnt seem to work.
i want to keep the message to confirm a log off, except when i want to log off users to fix an issue. at the moment if i want to log users off , the message box pops up and waits for a yes/no.
Viren