Results 1 to 2 of 2
  1. #1
    djspod is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Mar 2015
    Posts
    164

    Hide command button based on user logged onto Windows

    Hi,

    I want to create a button is only visible to a select admin username list.

    I'm not sure how to do it?

    I imagine the code would check against a table of users, if a name matches the logged in user (environ user) the button becomes visible.
    Can anyone help with the code or point me in the right direction please.

    Thanks



    Sent from my SM-G935F using Tapatalk

  2. #2
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,529
    Look at this link. It is a bit lengthy, but you can adapt this concept to your needs.

    http://www.mrexcel.com/forum/microso...ns-system.html

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 4
    Last Post: 10-29-2016, 12:20 AM
  2. Replies: 1
    Last Post: 09-12-2014, 06:09 AM
  3. Replies: 1
    Last Post: 01-04-2014, 11:04 PM
  4. Replies: 2
    Last Post: 06-06-2012, 10:53 AM
  5. Replies: 0
    Last Post: 09-27-2011, 12:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums