Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have the following code for finding a specific value in a range of
cells and then copying the found cells to new columns. It works very well, but when it copies the date column it changes the dates from dd/mm/yyyy to mm/dd/yyyy. I have tried formating the cells but it does not work. VBA seems to change them over somehow. Any clues? For each cell in range("b1:b1200") if left (cell.value,1) = "S" then nextrow = range("O65536").end(xlup).row + 1 cells(nextrow,15) = cell.offset(0, -1).value cells(nextrow,16) = cell.offset(0, 0).value end if next cell thanks, |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
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 date + time text format to 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 |