+ Reply to Thread
Results 1 to 5 of 5

Thread: How to AutoFill

  1. #1
    Registered User
    Join Date
    06-30-2010
    Location
    New Mexico
    MS-Off Ver
    Excel 2007
    Posts
    10

    How to AutoFill

    Hello,

    I would like to know how one would:
    Select the contents of one cell and autofill it to the next. I was thinking something along the lines of:

    ActiveCell.AutoFill Destination:=Range.Offset(0,1), Type:=xlFillDefault
    Any help would be greatly appreciated. Thank you.

  2. #2
    Forum Guru shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2007, 2010
    Posts
    25,777

    Re: How to AutoFill

    And did that work for you?
    Microsoft MVP - Excel
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    06-30-2010
    Location
    New Mexico
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: How to AutoFill

    Unfortunately not..

  4. #4
    Registered User
    Join Date
    06-30-2010
    Location
    New Mexico
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: How to AutoFill

    I think the problem may lie in the
    Type:=xlFillDefault
    but I'm not sure. Any ideas?

  5. #5
    Forum Guru
    Join Date
    03-31-2009
    Location
    Barstow, Ca
    MS-Off Ver
    Excel 2002 & 2007
    Posts
    2,110

    Re: How to AutoFill

    Hi tpowell55;
    From Help:
    Destination Required Range object. The cells to be filled. The destination must include the source range.
    don't use:
            ActiveCell.AutoFill Destination:=Range.Offset(0,1), Type:=xlFillDefault
    instead use:
            ActiveCell.AutoFill Destination:=Range.Offset(0,0,0,2), Type:=xlFillDefault
    Foxguy

    Remember to mark your questions [Solved] and rate the answer(s)
    Forum Rules are Here

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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.2.0