+ Reply to Thread
Results 1 to 6 of 6

End Range on next blank cell

  1. #1
    Registered User
    Join Date
    09-24-2010
    Location
    australia
    MS-Off Ver
    Excel 2003
    Posts
    11

    Unhappy End Range on next blank cell

    I would like to know how to get this macro to end it's range when it comes across a blank cell.

    This is the code I have so far:

    Please Login or Register  to view this content.
    What do I need to replace the ???? with so that it doesn't keep inserting rows beneath cells that have empty rows beneath them already?

    Thanks in advance.
    Last edited by n0v1c3; 10-04-2010 at 01:29 AM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: End Range on next blank cell

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code. Posting code without them makes your code hard to read and difficult to be copied for testing. Highlight your code and click the # at the top of your post window. For more information about these and other tags, found here
    Hope that helps.

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

    Free DataBaseForm example

  3. #3
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,342

    Re: End Range on next blank cell

    Hi n0v1c3
    Can you please go back to your first post and edit and add the code tags
    It would be easier to help if we knew what you are doing
    Please Login or Register  to view this content.
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

  4. #4
    Registered User
    Join Date
    09-24-2010
    Location
    australia
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: End Range on next blank cell

    I've tried
    Please Login or Register  to view this content.
    but it keeps inserting rows under the new additions instead of finding the last blank cell as the end of the range.

  5. #5
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,342

    Re: End Range on next blank cell

    maybe..
    Please Login or Register  to view this content.

  6. #6
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,342

    Re: End Range on next blank cell

    maybe..
    Please Login or Register  to view this content.

+ 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