+ Reply to Thread
Results 1 to 4 of 4

AutoFill Macro

  1. #1
    Registered User
    Join Date
    12-04-2012
    Location
    Houston
    MS-Off Ver
    Excel 2007
    Posts
    3

    AutoFill Macro

    Hi,

    I am looking for a macro to copy a cell and autofill it down the column until it gets to a non-blank cell. When it reaches that cell it needs to then copy the new cell down until it reaches another non-blank cell . I want it to stop until it reaches the last cell in column B.

    I have attached an example file of what I want. If anybody could give me a hand.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    09-23-2008
    Location
    Mexico
    Posts
    200

    Re: AutoFill Macro

    Here is one way:
    http://www.ozgrid.com/Excel/excel-fill-blank-cells.htm

  3. #3
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: AutoFill Macro

    It can be done in 2 ways.

    1) By using Data Selection>>Goto>>Spectial>>Blanks>>=abovecell>>Ctrl+Enter>>Copy and paste the selection as values.

    2) or by macro

    Which method you would like?


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  4. #4
    Forum Expert
    Join Date
    10-06-2008
    Location
    Canada
    MS-Off Ver
    2007 / 2013
    Posts
    5,692

    Re: AutoFill Macro

    Something like this (thanks to AlphaFrog)


    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