Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Jim, Thank much ... works like a charm...
have a great day!!! jer -----Original Message----- You might try replacing the part of your code that enters the formula with this: With Cell .Offset(0, -3).Value = "=Date(Year(" & .Offset(-1, - 3).Address _ & "),Month(" & .Offset(-1, -3).Address _ & ") +1, Day(" & .Offset(-1, -3).Address & "))" End With Your code enters everything to the right of the "=" as literal text. Literal VBA code like "cell.Offset(-1, -3))" has no meaning in a worksheet cell. You have to enter what that code evaluates to. -- Jim Rech Excel MVP . |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
creating a looping formula between different spreadsheets | New Users to Excel | |||
looping with formula inside | Excel Programming | |||
looping formula - r1c1 problem - Con't | Excel Programming | |||
looping formula - r1c1 problem | Excel Programming | |||
looping Ranking formula - R[1]C[1] | Excel Programming |