+ Reply to Thread
Results 1 to 6 of 6

find next blank cell within range

  1. #1
    Forum Contributor
    Join Date
    07-10-2008
    Location
    UK
    Posts
    220

    find next blank cell within range

    Hi again

    I have a range C6:AD2506, this is my data entry range.
    I have a user form with a button saying ' show me' which i want to take the user to the 1st blank cell within that range. Also when this is clicked I would like for it to remain visible so vbModeless and for the text on it to change to 'next'. And when clicked again it will go to the next blank cell, continuing until it has gone through them all.

    Within my range C6:AD2506 i have mandatory fields. I only want the button to take the user to blank cells within these mandatory columns.

    Also I dont want entirely blank rows to be included in the search. These are flagged up in the A column. For rows to be included in the search it says "Item" in the A column, for rows not to be included it will says "Item."

    What code should I use for this set up?

    Here is an attachment of the data entry sheet..the mandatory fields are marked with red cells.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    07-10-2008
    Location
    UK
    Posts
    220
    OK iv started with this code :

    Please Login or Register  to view this content.

    This seems only to select cell C6 and do nothing from there. I am planning on starting simple and building it up to my end result!

    Any help with the next step (making it find the 1st blank cell, then once clicked again find the next one)????

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    You appear to have asked this question several times, slightly differently. This is not allowed under the Forum Rules, stick to the same post until the problem is solved. If you are not getting answers then you probably need to explain more fully.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  4. #4
    Forum Contributor
    Join Date
    07-10-2008
    Location
    UK
    Posts
    220
    ok sorry.

    I have used the code below to find the blank cells...for my range....and it works fine. I just cant figure out how to make the rows marked "Item." not be included in the selections. (please see original post..above).

    Please Login or Register  to view this content.
    Any ideas on how I should change this code so that the rows marked "Item." are not included????

    Let me know, Thanks

  5. #5
    Forum Contributor ptm0412's Avatar
    Join Date
    04-16-2008
    Location
    Vietnam
    MS-Off Ver
    Office 2003 and 2007
    Posts
    129
    Change this statement:
    Please Login or Register  to view this content.
    into:
    Please Login or Register  to view this content.
    Oldman Chatting: [email protected] Mailing: [email protected]

  6. #6
    Forum Contributor
    Join Date
    07-10-2008
    Location
    UK
    Posts
    220
    thanks...that works perfectly :D

+ 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