+ Reply to Thread
Results 1 to 6 of 6

Start Code From Next Blank Row

  1. #1
    Registered User
    Join Date
    04-12-2019
    Location
    Manchester
    MS-Off Ver
    2016
    Posts
    20

    Start Code From Next Blank Row

    Hi,

    I've written this code original just to quickly pull information. Now I want to use it create a database so I don't want the old data to be deleted. I've added in the find last row function but it acts really weird. The first run, the summary is pulled with loads of empty rows. Then next time it finds the empty row no problem. Any help would be greatly appreciated.

    Please Login or Register  to view this content.
    Thanks and regards
    Christian

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,463

    Re: Start Code From Next Blank Row

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor banaanas's Avatar
    Join Date
    08-26-2014
    Location
    Finland
    MS-Off Ver
    2016
    Posts
    199

    Re: Start Code From Next Blank Row

    Try changing
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.
    Tuomas "Banaanas" Savonius
    Trying to give back now when I actually can do some VBA

  4. #4
    Valued Forum Contributor
    Join Date
    03-24-2014
    Location
    England
    MS-Off Ver
    Excel 2003 - 2016
    Posts
    575

    Re: Start Code From Next Blank Row

    or unusedrow = range("A1048000").end(xlup).row + 1

  5. #5
    Registered User
    Join Date
    04-12-2019
    Location
    Manchester
    MS-Off Ver
    2016
    Posts
    20

    Re: Start Code From Next Blank Row

    Hi,

    Thanks for the response, with these solutions what happens if I get an empty cell A in my data, would that row get overwritten?

    Thanks
    Christian

  6. #6
    Valued Forum Contributor
    Join Date
    03-24-2014
    Location
    England
    MS-Off Ver
    Excel 2003 - 2016
    Posts
    575

    Re: Start Code From Next Blank Row

    Yes. To prevent that, use a column that will always have data in it if the row is populated.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Need to delete blank rows from start range to next blank row
    By maym in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-12-2018, 10:24 PM
  2. How to updated "yet to Start" when start date is blank
    By Sanjibghosh in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-05-2018, 03:13 AM
  3. [SOLVED] check if cell is blank or start with**
    By suske04 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-09-2017, 06:26 AM
  4. How can I have a blank combo box on start up?
    By bralew in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-27-2016, 11:21 AM
  5. Blank Message Box On Excel Start Up
    By ArunKumar_00 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-14-2011, 08:39 AM
  6. Start count over after blank cell
    By RPS4444 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-02-2008, 11:27 PM
  7. Macros: find and start at 1st blank row
    By m.cain in forum Excel General
    Replies: 1
    Last Post: 09-25-2007, 02:51 PM

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