Results 1 to 1 of 1

How Change the Date \ Time Stamp of a file to a number ? (EXCEL VBA)

Threaded View

  1. #1
    Registered User
    Join Date
    01-13-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    1

    How Change the Date \ Time Stamp of a file to a number ? (EXCEL VBA)

    Hi Guys,

    I wanted to know if anybody tried to change the time stamp that comes from the file property ( myFile.DateCreated = 8/6/2012 12:20:15 AM ) to a number, similar to what excel cell will do id you change the cell property to ( General ) will give you a number like 41141.50 which correspond to the date and time.

    I need this to select Excel sheets that was created after a certain date, EX:

    if myFile.datecreated < 41121 Then GoTo SkipF


    Thanks !
    Last edited by nawaralobaidi; 08-06-2012 at 12:31 PM.

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