View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default Is the user Administrator

Randy Birch has a VB solution for the current user which you could modify.
It is at vbnet.mvps.ortg, search on How to Determine if the Current User is
a Member of Administrator

--

HTH

RP

"MrT" wrote in message
...
Dear Colleagues,

Do you know a way to determine if the group to the which the user belongs
(administrator, guest, standard user, ...)?

I tried using Environ but could not find a solution this way.

Thanks for your help,

MrT