View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
GEP GEP is offline
external usenet poster
 
Posts: 2
Default How to get a user's user id in an Excel macro

Is there a way for me to identify in an Excel macro the user id of the person
trying to execute the macro? For example, If User_ID = SmithJo Then (where
User_ID is something that Excel would make available to me somehow). I know
Excel knows user ids that users use to log into their PCs and/or network
since it displays them when I click on ToolsShared Workbook, for example.
Thanks!