+ Reply to Thread
Results 1 to 4 of 4

Active Directory Last Log On Macro

  1. #1
    Forum Contributor
    Join Date
    11-02-2010
    Location
    Philippines
    MS-Off Ver
    Excel 2003
    Posts
    353

    Active Directory Last Log On Macro

    Hi everyone,
    What I wanted to do is to pull Information on my AD.
    I have been trying to figure out what is the problem with this script but i couldn't hit the spot where I am doing it wrong. Perhaps you can help me.
    The script seems to get the "USERNAME" and "SAMACCOUNTNAME" for some reasons it is not getting the "LASTLOGON" information.

    Any thoughts? Thank you in advance.

    Here is my VBA

    Please Login or Register  to view this content.
    Last edited by Andrew.Trevayne; 09-11-2012 at 08:22 AM.

  2. #2
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Active Directory Last Log On Macro

    It is, you just need to know how to read it - could do with declaring some variables too

    You need to convert it first, put something like this in your loop:
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    11-02-2010
    Location
    Philippines
    MS-Off Ver
    Excel 2003
    Posts
    353

    Re: Active Directory Last Log On Macro

    Wow! This is amazing Kyle! Thanks a bunch!
    And I have been scratching my head for hours! *Sigh*

    Thank you so much!

  4. #4
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Active Directory Last Log On Macro

    No problem, glad it's working

    Thanks for the rep and feedback

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1