+ Reply to Thread
Results 1 to 2 of 2

Dynamic Autofilling

  1. #1
    Registered User
    Join Date
    01-10-2011
    Location
    Boston, MA
    MS-Off Ver
    Excel 2003
    Posts
    51

    Dynamic Autofilling

    So I have to write a macro which automatically finds and extends a range which I have set to this
    Please Login or Register  to view this content.
    into the next empty column, but for some reason when I try to do that with this line;
    Please Login or Register  to view this content.
    i get a 1004 error. Any ideas? lcol is what I have set as the next empty column.
    I can't always post examples of what I might be asking about due to confidentiality issues, but I WILL try to explain my problems as thoroughly as I can.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Dynamic Autofilling

    Hello omgeokid,

    You need to define a source range, a few cells that represent the fill sequence, and then include that in the destination. In the example below, the first 2 cells of the range are used to define the fill type.
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

+ 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