• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Formula to identify cell as value

Never mind I figured out my on problem.:confused:
*****
Hello,

This is my formula in VBA:
Code:
For lngI = ActiveCell.SpecialCells(xlCellTypeLastCell).Row To 1 Step -1
    With Cells(lngI, "A")
        If Left(Cells(lngI, 11), 1) = "" Then .EntireRow.Delete
        End With
Next

The macro works fine, but the formula is not picking up anything with a '0' (Zero).

I tried
Code:
For lngI = ActiveCell.SpecialCells(xlCellTypeLastCell).Row To 1 Step -1
    With Cells(lngI, "A")
        If Left(Cells(lngI, 11), 1).value = "" Then .EntireRow.Delete
        End With
Next
but it didn't recognize the '.Value'

Can anyone see the error in my formula?? the macro part is O.K.
__________________________________________________________________
Mod edit : as it's very not a formula, thread moved to appropriate forum !
 
Last edited:
Back
Top