K
Kevin Gabbert
Hi guys. I'm looking for a way to keep the following line:
Set oRange = oSheet.Cells.SpecialCells(xlCellTypeFormulas)
from returning an error.
I do know that a similar line of code:
Set oRange = oSheet.Cells.SpecialCells(xlCellTypeBlanks)
can be kept from raising an error if I use the following undocumented excel feature:
x = oSheet.Application.CountBlank(oRange)
...is there a similar one for xlCellTypeFormulas?
-K
Set oRange = oSheet.Cells.SpecialCells(xlCellTypeFormulas)
from returning an error.
I do know that a similar line of code:
Set oRange = oSheet.Cells.SpecialCells(xlCellTypeBlanks)
can be kept from raising an error if I use the following undocumented excel feature:
x = oSheet.Application.CountBlank(oRange)
...is there a similar one for xlCellTypeFormulas?
-K