excel login form by windows authentication for one AD group only RRS feed

  • Question

  • Hi , I have a userform that connects to database and update some value. For this we want a login page which is accessed only by one windows  AD group. I have a AD group and bunch of people in that group and only that people are required to access this userform. Please suggest me a code for this.

    cheryl_ 123

    Wednesday, December 20, 2017 7:55 AM

All replies

  • Hi Megh_123,

    Thanks for your post.

    This forum is used to discuss about Excel Object Model, your issue is more related with VBA code to authenticate AD, I will move it to the more related forum.

    Thanks for your understanding.

    Best Regards,

    Tao Zhou

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    Thursday, December 21, 2017 9:43 AM