Column number of last column that returns value ignore formulas
Hi Howard,
Am Tue, 27 May 2014 14:15:04 -0700 (PDT) schrieb L. Howard:
I'm looking for help because I can't make the code ignore a cell with a formula but showing NO value but recognize a cell with a value showing.
try:
With ActiveSheet
For i = 23 To 1 Step -1
If Len(.Cells(3, i).Value) Then
MsgBox i
Exit For
End If
Next
End With
Regards
Claus B.
--
Vista Ultimate / Windows7
Office 2007 Ultimate / 2010 Professional
|