+ Reply to Thread
Results 1 to 2 of 2

Check for each cell in range if is it empty when user click to some cells

  1. #1
    Registered User
    Join Date
    12-25-2012
    Location
    Boston
    MS-Off Ver
    Excel 2003
    Posts
    1

    Question Check for each cell in range if is it empty when user click to some cells

    Hello,

    First of all sorry for my poor english :-)

    So i have in my excel sheet 3 column :

    A B C where B is a date of mounth so if user whant change a cell in C3 and if cell B3 i want show message and select another cell and son for cell C4 et B4
    1
    2
    3

    So i make this function which works great BUT there is a bug, in fact user can not change cell B4 even if C4 is not empty

    Please Login or Register  to view this content.
    So this is my function i thin problem come from "Set myRange = ActiveSheet.Range("B7:B12")"

    beacuse if all cells from this range must not be empty if user can write in range E7:E13

    Could please someone help me with this code, thank you very much

    Onother question is if i want add more range to check like A12:A25, A50:A60 and so on how can i do please.

  2. #2
    Forum Expert Tsjallie's Avatar
    Join Date
    09-15-2012
    Location
    NL
    MS-Off Ver
    2010, 2013, 2016
    Posts
    2,077

    Re: Check for each cell in range if is it empty when user click to some cells

    Not at all sure what you are trying to achieve, but maybe this user teasing long shot is somewhat in the direction you're looking at.
    Code is in the selection_change procedure of Sheet1.
    Attached Files Attached Files
    Cheers!
    Tsjallie




    --------
    If your problem is solved, pls mark the thread SOLVED (see Thread Tools in the menu above). Thank you!

    If you think design is an expensive waste of time, try doing without ...

+ Reply to Thread

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