ICANSEEYOU7687 Posted August 31, 2012 Posted August 31, 2012 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
jdelaney Posted August 31, 2012 Posted August 31, 2012 (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 August 31, 2012 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.
ICANSEEYOU7687 Posted August 31, 2012 Author Posted August 31, 2012 Worked! Thanks, I havent used autoit in a while and im a bit rusty. Thanks!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now