+ Reply to Thread
Results 1 to 5 of 5

Autofill a Column

  1. #1
    Registered User
    Join Date
    08-24-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    17

    Autofill a Column

    I am building a macro to minipulate a huge spreadsheet to purge out un needed information and insert a few formulas at the end. The file has between 30,000-80,000 rows usually. I'm trying to make it autofill down to the last row (where there's data in the other columns), but I can't seem to get it to stop at that point, it continues going until around 150,000 rows.


    This is the code I am currently working with. I want this to fill down from AJ2 until the last row. This is built into a larger macro that does a few other things as well.
    Please Login or Register  to view this content.

  2. #2
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: Autofill a Column

    Maybe this

    Please Login or Register  to view this content.
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  3. #3
    Registered User
    Join Date
    08-24-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Autofill a Column

    That for the most part works, but it's filling in one extra row below the rest of my data. What's the easiest way to make it stop a row sooner?

  4. #4
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,520

    Re: Autofill a Column

    My bad just add -1

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    08-24-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    17

    Re: Autofill a Column

    Worked great, thanks!

+ 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