+ Reply to Thread
Results 1 to 3 of 3

Autofill only Available Lines

  1. #1
    Forum Contributor
    Join Date
    08-02-2015
    Location
    Canada
    MS-Off Ver
    Office 2010
    Posts
    129

    Autofill only Available Lines

    Hello,

    Anyone know how to stop an autofill in a macro? For example I have data in columns A - H and a formula in I1, J1 and K1
    I have a macro that autofills the formulas down but I would like it to stop when there is no more data in columns A and B. The idea is users will paste info into A-H but the number of lines of data can vary between users

    Here is the single code I have so far:

    Please Login or Register  to view this content.
    Thanks so much

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,475

    Re: Autofill only Available Lines

    Hello,
    Check this out.
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    08-02-2015
    Location
    Canada
    MS-Off Ver
    Office 2010
    Posts
    129

    Re: Autofill only Available Lines

    Thank you so much!! That did the trick

+ 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] Autofill - Need three lines to all reference the next line in the reference.
    By craigbrickner in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 11-06-2017, 03:14 PM
  2. Autofill base on Active Cell and Autofill by row count of another sheet
    By enyak in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-19-2014, 10:06 PM
  3. Insert lines and autofill in to sheets
    By xuaozinho in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-25-2013, 01:06 PM
  4. Last Row and Autofill for only 1 line as well as loads of lines.
    By stimpsond1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-13-2012, 12:04 PM
  5. Macro for Autofill removes header info when there is no data to autofill
    By esturan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-06-2012, 01:42 PM
  6. Help to Add a few lines to macro code to hide the cell formula and to autofill
    By zaska in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-19-2012, 03:28 PM
  7. Replies: 1
    Last Post: 07-12-2006, 11:25 AM

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