Results 1 to 2 of 2

Checking For Empty Cells

Threaded View

  1. #1
    Registered User
    Join Date
    05-29-2017
    Location
    Bournemouth
    MS-Off Ver
    Excel 2010
    Posts
    19

    Checking For Empty Cells

    I'm trying to see if the cells I'm about to populate are empty. Here's my code:

    Counter = 0
    Do While Counter < NoOfDays
            If Not (IsEmpty(ActiveCell.Offset(Counter, 0))) Then 
                MsgBox "Please Ensure Target Range Is Clear", vbCritical
                (exit statement)
             End If
             Counter = Counter + 1   
    Loop
    The active cell is J1 but this code doesn't detect cells already populated. Any ideas?
    Last edited by ALEXJM; 07-10-2017 at 10:39 AM. Reason: Orig postcontravened rule 3

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Checking empty cells
    By Diez in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-21-2006, 03:35 AM
  2. [SOLVED] Checking for Empty Scattered Cells
    By Kevin O'Neill in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-04-2006, 02:45 PM
  3. Checking for empty cells in a range
    By Bob Phillips in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2005, 04:05 AM
  4. Checking for empty cells in a range
    By Chris Strug in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM
  5. Checking for empty cells in a range
    By Chris Strug in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  6. [SOLVED] Checking for empty cells in a range
    By Chris Strug in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM
  7. [SOLVED] Checking for empty cells in a range
    By Chris Strug in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-20-2005, 08:05 PM
  8. [SOLVED] Checking for empty cells in a range
    By Chris Strug in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-20-2005, 06:05 AM

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