View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
Neil Neil is offline
external usenet poster
 
Posts: 173
Default Find Out Logged in User

Nigel,

Check out the Excel pages at www.nwarwick.co.uk.

You will find a ready made VBA routine to do exactly what you want.

HTH

Neil
www.nwarwick.co.uk

"Nigel" wrote:

Is it possible to find out who is logged into the computer, I want to use
this function to decide whether a piece of of code shoud run

ie

if username="bob" then
do this
end if

Thanks