Results 1 to 2 of 2
  1. #1
    5 Star Lounger
    Join Date
    Mar 2001
    New York, NY
    Thanked 10 Times in 9 Posts

    Query AD for Email

    We use five-digit logins for our users (e.g. 76543). I would like to use VBA to query the email address of a specific user, identified by that five-digit name. I assume that means a query to ActiveDirectory... can anyone offer help with VBA code to do that?

    Many thanks.

  2. Get our unique weekly Newsletter with tips and techniques, how to's and critical updates on Windows 7, Windows 8, Windows XP, Firefox, Internet Explorer, Google, etc. Join our 480,000 subscribers!

    Excel 2013: The Missing Manual

    + Get this BONUS — free!

    Get the most of Excel! Learn about new features, basics of creating a new spreadsheet and using the infamous Ribbon in the first chapter of Excel 2013: The Missing Manual - Subscribe and download Chapter 1 for free!

  3. #2
    Platinum Lounger
    Join Date
    Dec 2009
    Thanked 231 Times in 219 Posts
    There are plenty of AD query samples if you search. To extract the email address you use "mail" as the required field.

    cheers, Paul

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts