+ Reply to Thread
Results 1 to 4 of 4

Need help with dynamic autofill

  1. #1
    Registered User
    Join Date
    05-08-2013
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    5

    Need help with dynamic autofill

    I'm very new & inexperienced; I need help with dynamic autofill for 3 formulas, the number of rows in column A data can vary on any given day.

    Also, the spredsheet I'm forced to use due to decisions beyond my control begins in A10 not A1.

    Can anyone help?

    ActiveCell.FormulaR1C1 = "=CONCATENATE(R1C2,RC[-25])"
    Range("Z10").AutoFill Destination:=Range("Z10:Z26")
    Columns("Z:Z").EntireColumn.Hidden = True
    Range("W10").Select
    ActiveCell.FormulaR1C1 = _
    "=VLOOKUP(RC[3],'[ASW Rate Plan Validation.xlsx]ASW Rates'!C1:C8,7,FALSE)"
    Selection.AutoFill Destination:=Range("W10:W26")
    Range("X10").Select
    ActiveCell.FormulaR1C1 = "=RC[-3]-RC[-1]"
    Range("X10").AutoFill Destination:=Range("X10:X26")
    Range("X10").Select

  2. #2
    Valued Forum Contributor
    Join Date
    11-20-2012
    Location
    Seattle, WA USA
    MS-Off Ver
    Excel 2010
    Posts
    597

    Re: Need help with dynamic autofill

    Please Login or Register  to view this content.

  3. #3
    Valued Forum Contributor
    Join Date
    11-20-2012
    Location
    Seattle, WA USA
    MS-Off Ver
    Excel 2010
    Posts
    597

    Re: Need help with dynamic autofill

    p.s. put your code in code tags by selecting your code and hitting the # icon on the quick reply menu bar

  4. #4
    Registered User
    Join Date
    05-08-2013
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Need help with dynamic autofill

    Thanks Scott, it worked perfectly.

    I had mistakenly not copied the range ("Z10")

    Thanks for the tip on the code tags; I will do that in the future.

    I appreciate you assistance

+ 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