+ Reply to Thread
Results 1 to 3 of 3

Auto Fill Destination

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

    Auto Fill Destination

    Hello,

    Basically, what I am trying to do with this macro is fill a cell with the previous cell's formula but change the date reference to the current column instead of the previous. So,
    I attempted this by using the autofill command in VBA, but where I ran into a problem was programming the Type:=xlFillDefault...If there is a better way I am open.

    Please Login or Register  to view this content.
    Thank you for your help.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,486

    Re: Auto Fill Destination

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!

  3. #3
    Forum Expert
    Join Date
    03-31-2009
    Location
    Barstow, Ca
    MS-Off Ver
    Excel 2002 & 2007
    Posts
    2,164

    Re: Auto Fill Destination

    Hi tpowell55;
    Quote Originally Posted by tpowell55 View Post
    Please Login or Register  to view this content.
    Thank you for your help.
    From Help
    AutoFill Method Destination Required Range object. The cells to be filled. The destination must include the source range.
    So try this
    Please Login or Register  to view this content.
    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.6.0 RC 1