+ Reply to Thread
Results 1 to 5 of 5

Auto fill macro when adjacent column has blank cells

  1. #1
    Registered User
    Join Date
    12-15-2003
    Location
    Wisconsin
    Posts
    25

    Auto fill macro when adjacent column has blank cells

    I frequently have to copy a cell down a column to the last row in the worksheet. Auto filling works fine if the column to the left has data in every cell, but this is often not the case. I need a macro which will allow me to select a column which I know to have data in ever cell and then copy data in the active cell to the last row.
    ElsiePOA

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Auto fill macro when adjacent column has blank cells

    Try this:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    08-06-2011
    Location
    Southern Illinois USA
    MS-Off Ver
    Excel 2007 2010
    Posts
    5

    Re: Auto fill macro when adjacent column has blank cells

    Not a macro but If you know the column try hiding the others. Just rember to unhide once done. Read this in another Excel forum I read

  4. #4
    Registered User
    Join Date
    12-15-2003
    Location
    Wisconsin
    Posts
    25

    Re: Auto fill macro when adjacent column has blank cells

    Worked great. The only thing that would improve it is if the macro asked user to select the column you know has data in every cell to the last row

  5. #5
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Auto fill macro when adjacent column has blank cells

    The only thing that would improve it is if the macro asked user to select the column you know has data in every cell to the last row
    That flow makes no sense. You can either select a column or an active cell like you said in your first post. Not both. You can input a column into an input box if you want which would be easy to code in.

+ 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] Macro to fill blank cells in column A based on non-blank cells
    By ktalamantez in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-28-2014, 02:47 PM
  2. Fill in blank cells if adjacent cell has value, then do for next set of data
    By logistician in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-20-2014, 11:07 AM
  3. [SOLVED] auto fill series linear growth trend between non-adjacent cells in a column
    By gshorey in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-07-2013, 04:34 PM
  4. Excel 2007 : Auto fill non adjacent cells +
    By quintain in forum Excel General
    Replies: 1
    Last Post: 05-03-2012, 12:52 PM
  5. Auto-fill adjacent cells based on start/stop date?
    By jeffreyray in forum Excel General
    Replies: 3
    Last Post: 10-03-2011, 06:49 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