+ Reply to Thread
Results 1 to 7 of 7

Problems with Autofill

  1. #1
    Registered User
    Join Date
    05-29-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    63

    Problems with Autofill

    I’m trying to auto fill to the bottom row of my spreadsheet with the code:

    Please Login or Register  to view this content.
    However it always fills a few hundred rows lower, but I can’t work out why!! Any ideas please?

    Thanks
    Last edited by Cutter; 07-29-2012 at 09:26 PM. Reason: Added code tags

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Problems with Autofill

    what is your goal ? can you attach a sample ?

  3. #3
    Valued Forum Contributor WasWodge's Avatar
    Join Date
    08-02-2010
    Location
    Hampshire,England
    MS-Off Ver
    Office 365 and Office 2010
    Posts
    882

    Re: Problems with Autofill

    I’m trying to auto fill to the bottom row of my spreadsheet with the code
    Bottom row of your spreadsheet or last row with data?
    If the latter is one column always the longest (if so which) or does it vary?
    If my solution worked (or not) please let me know. If your question is answered then please remember to mark it solved

    Computers are like air conditioners. They work fine until you start opening windows. ~Author Unknown

  4. #4
    Registered User
    Join Date
    05-29-2012
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    63

    Re: Problems with Autofill

    Hello,

    Thanks for replying. I've tried to attach an example (slightly different to my actual worksheet as its confidential info) but the priciple of the problem is the same for the included macroBook1.xlsm....

    Thank you very much!

  5. #5
    Valued Forum Contributor WasWodge's Avatar
    Join Date
    08-02-2010
    Location
    Hampshire,England
    MS-Off Ver
    Office 365 and Office 2010
    Posts
    882

    Re: Problems with Autofill

    Try
    Please Login or Register  to view this content.

  6. #6
    Valued Forum Contributor
    Join Date
    02-12-2011
    Location
    The Netherlands
    MS-Off Ver
    365
    Posts
    818

    Re: Problems with Autofill

    Oneliner.
    Please Login or Register  to view this content.
    Kind regards, Harry.

  7. #7
    Valued Forum Contributor WasWodge's Avatar
    Join Date
    08-02-2010
    Location
    Hampshire,England
    MS-Off Ver
    Office 365 and Office 2010
    Posts
    882

    Re: Problems with Autofill

    If doing it as a single liner I prefer to do it as per below (mainly because if I don't see the actual workbook I never trust that there aren't any blank cells).
    I don't normally do a one-liner as I prefer to keep the last row for future use in the program (just my preference)

    Please Login or Register  to view this content.
    Last edited by Cutter; 07-29-2012 at 09:27 PM. Reason: Added code tags

+ 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