Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
"I working with a file that has about 150 columns and 1000 rows
I using a Hyperion formula that will at point return "#invalit Entity ??? does not exist I was to use VBA to find all cases when the entity is invalid and replace it with 0 or if there is a simpler was I'm open to it -- Helping Is always a good thing |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dim rng as range
Dim cell as Range set rng = Activesheet.UsedRange.specialcells(xlformulas,xlTe xtValues) for each cell in rng if instr(1,cell.value,"#Invalid",vbTextCompare) then cell.value = 0 end if next -- Regards, Tom Ogilvy "QuietMan" wrote: "I working with a file that has about 150 columns and 1000 rows I using a Hyperion formula that will at point return "#invalit Entity ??? does not exist I was to use VBA to find all cases when the entity is invalid and replace it with 0 or if there is a simpler was I'm open to it -- Helping Is always a good thing |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Tom, will try it later
-- Helping Is always a good thing "Tom Ogilvy" wrote: Dim rng as range Dim cell as Range set rng = Activesheet.UsedRange.specialcells(xlformulas,xlTe xtValues) for each cell in rng if instr(1,cell.value,"#Invalid",vbTextCompare) then cell.value = 0 end if next -- Regards, Tom Ogilvy "QuietMan" wrote: "I working with a file that has about 150 columns and 1000 rows I using a Hyperion formula that will at point return "#invalit Entity ??? does not exist I was to use VBA to find all cases when the entity is invalid and replace it with 0 or if there is a simpler was I'm open to it -- Helping Is always a good thing |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Error "invalid data source reference" for pivot table | Excel Worksheet Functions | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
Subtotal without "xxxx total" but only xxxx | Excel Discussion (Misc queries) | |||
"Invalid property" after "Clear Form" | Excel Programming | |||
within a macro how can I suppress the warning pop "A file named xxxx.xls already exists in this location. Do you want to replace it?" | Excel Programming |