Results 1 to 10 of 10

checking whether a number of cells have values

Threaded View

  1. #2
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: checking whether a number of cells have values

    I don't know what you want to do if you find an empty cell but tinker with this
    Sub vCheck()
    For Each c In Range("O5:O16, P5:P16")
        If c.Value <> "" Then c.Select
    Next c
    End Sub
    For the "c.Select" part of the code is where you put your own code.
    Last edited by Mordred; 08-05-2010 at 12:13 PM.
    If you're happy with someone's help, click that little star at the bottom left of their post to give them Reps.

    ---Keep on Coding in the Free World---

Thread Information

Users Browsing this Thread

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

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