+ Reply to Thread
Results 1 to 7 of 7

autofill not working

  1. #1
    Registered User
    Join Date
    11-15-2012
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    16

    autofill not working

    Hi

    I'm trying to autofill down on column L to BM. The lastrow is unknow and only needs to fill the next row down. the code I have so far is below but it errors on the last line. Thanks in advance.

    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor
    Join Date
    08-13-2012
    Location
    Gardony, Hungary
    MS-Off Ver
    Excel 2003
    Posts
    558

    Re: autofill not working

    Hey,

    I think fillRange should include SourceRange, so the Set fillRange line should be:
    Please Login or Register  to view this content.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,425

    Re: autofill not working

    Try this:

    Please Login or Register  to view this content.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: autofill not working

    Perhaps this.
    Please Login or Register  to view this content.
    Last edited by Norie; 01-23-2013 at 09:36 AM.
    If posting code please use code tags, see here.

  5. #5
    Registered User
    Join Date
    11-15-2012
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: autofill not working

    hi

    thanks all used Norie solution in the end.

  6. #6
    Forum Contributor
    Join Date
    11-05-2012
    Location
    Montreal
    MS-Off Ver
    Excel 2007
    Posts
    107

    Re: autofill not working

    Hello,

    Can you please attach the workook with the working vba? It will be very helpful.

    Thank you

  7. #7
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: autofill not working

    Naja

    If you have your own question start a new thread.

    PS There's not really a workbook involved in this thread.

+ 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