Consulting

Results 1 to 2 of 2

Thread: Solved: Is there an ISnumeric or Formula code

  1. #1
    VBAX Regular
    Joined
    Mar 2008
    Posts
    11
    Location

    Solved: Is there an ISnumeric or Formula code

    Excel 2003

    Hi I have some code that works fine, which checks cells for a Value before carrying out some code. I would like it to check for a Value or a Formula rather than just a value.
    Currently the code is:-

    For Each cell In .Range("C7:IV214").SpecialCells(xlCellTypeConstants)

    If IsNumeric(cell.Value) Then

    Can anyone show me how a can change this to look for either a value or formula?

    Thank you

    Paul

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    SpecialCells has a formulas constnat that it can check for.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •