Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have hundreds of cells with formulas, and several of them have the little
green triangle because they reference another cell that is empty. I want to ignore this/these errors. If I set up a range object in VBA, I can loop through all the range areas and loop through all the respective cells. But what object do I need to reference in order to set a cell property to ignore the error? --here is some pseudocode - does Excel have an xlError type ? I don't get intellisense from my range object here. Dim rng As range Set rng = Sheet1.Range("A1:E5, A8:E13, A16:E21") For i = 1 To rng.Areas.Count For j = 1 To rng.Areas(i).Columns.Count For k = 1 To rng.Areas(i).Rows.Count rng.Areas(i)(k,j).Error = xlError.Ignore ,,, Thanks, Rich |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
removing green triangle in cell | Excel Worksheet Functions | |||
How do I eliminate the green triangle throughout my spreadsheet? | Excel Discussion (Misc queries) | |||
Force Green triangle to appear | Excel Discussion (Misc queries) | |||
What is the little green triangle??? | Excel Worksheet Functions | |||
Green Triangle in Cell | Excel Discussion (Misc queries) |