Jump to content

Recommended Posts

Posted

Sorry if this is a silly/stupid question, but I was curious how to do this.

I am trying to check dates in an excel column to get usage statistics, and the date is formatted like MM/DD/YY. I would like to pull this out as a string, and separate this into 3 variables for month, day, and year to be able to do some basic calculations on.

Is there an easy way to do this?

Thanks

Posted (edited)

use the _Excel* functions to open, read, and then you can do a string split, or regular expression to create an array with your needed data...excel will return a standrard format, regardless of the visual formatting on the spreadsheet (the date, that is) *fairly sure

Edited by jdelaney
IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...