Results 1 to 12 of 12

Error check and if the cell is not numeric or empty loop to the next item

Threaded View

  1. #4
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Error check and if the cell is not numeric or empty loop to the next item

    Something like this:
    If IsNumeric(Range("RangeImTryingToCheck")) = False _
            Or Range("RangeImTryingToCheck").Value = "" Then
        next loop
    Else:
        'actions to preform here'
        next loop
    End if
    I could make it more precise if you wanted to attach your workbook.
    Last edited by Solus Rankin; 07-23-2013 at 09:25 AM.
    Thanks,
    Solus


    Please remember the following:

    1. Use [code] code tags [/code]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
    Highlight the code in your post and press the # button in the toolbar.
    2. Show appreciation to those who have helped you by clicking below their posts.
    3. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

    "Slow is smooth, smooth is fast."

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] How to write loop to check for empty cells
    By JaydenK in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-22-2013, 09:17 AM
  2. [SOLVED] Makro with if condition to check for numeric and text values in a cell range
    By Postlki1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-14-2013, 07:53 AM
  3. [SOLVED] Loop Until Empty Cell
    By gtiguy in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-19-2012, 09:20 PM
  4. [SOLVED] Match Formula to Check if Cell Value is Within a Numeric Range Table
    By dieseldogpi in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-16-2012, 12:04 PM
  5. [SOLVED] Do Loop for Error check
    By Stephen in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-20-2006, 08:30 AM

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1