Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Date Format
I am trying to save a file with this code it worrks but I don't want to save
it with the jobdate 10-18-2006. I want to shorten it to 10-18-06 The cell C10 is formatted to mm/dd/yy I don't do any date calculations oldjay jobdate = Range("C10").Value ' jobdate = Month(Jobdate) & "-" & Day(Jobdate) & "-" & Year(Jobdate) jobname = Range("D6") jobemployee = Range("G3") jobnumber = Range("D4") jobsave = InputBox("Please enter TIME SHEET file name to save", " Process Technology", "" & "C:\Time Sheets\" + jobnumber + jobemployee + (Jobdate)) jobsave1 = jobsave + (".xls" |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
permanent conversion of 1904 date format to 1900 date format | Excel Worksheet Functions | |||
change date format dd/mm/yyyy to Julian date format? | Excel Worksheet Functions | |||
Convert european foreign date format to US date format | Excel Worksheet Functions | |||
code to convert date from TEXT format (03-02) to DATE format (200203) | Excel Programming | |||
Change a date in text format xx.xx.20xx to a recognised date format | Excel Programming |