Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a worksheet that I need to replace the formula in
numerous cells. Below is a portion of the SUB I set up to replace the formula in one of the cells Sub Discrete_Update() ....... Range("E3").Select ActiveCell.FormulaR1C1 = _ "=IF('BOE-Data & Text'! L14<""Discrete"","""",Task_Start_Date)" ....... End Sub It replaces the formula but places tic marks around the cell address (L14). =IF('BOE-Data & Text'!'L14'<"Discrete","",Task_Start_Date) This causes the cell to display #Name?. As soon as I go to the cell and remove the tic marks the formula works fine. Any ideas why this is happening and what I can do to correct it? Thanks, Lee |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
bulk replacement of cell reference within formula | Excel Worksheet Functions | |||
Value Replacement | Excel Worksheet Functions | |||
Replacement Vlookup Formula | Excel Discussion (Misc queries) | |||
Replacement | Excel Discussion (Misc queries) | |||
Replacement CD | Excel Programming |