• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

VBA to Copy Multiple Column Formula Down

Hi,

I am trying to save steps in a data set that I analyze very regularly. The row length overlaying data that the formulas are reading from change. I have posted more details in my attachment.

Please help! Thanks!
 

Attachments

  • Chandoo 4.18.19.xlsx
    18.6 KB · Views: 2
How about
Code:
Sub cpadilla0024()
   On Error Resume Next
   Range("K:L").SpecialCells(xlFormulas).ClearContents
   On Error GoTo 0
   With Range("K2", Range("A" & Rows.Count).End(xlUp).Offset(, 11))
      .Formula = Array("=+LEFT(E2,1)&""XXX""", "=IF(A2<0,""NEED BUDGET"",""OKAY"")")
   End With
End Sub
 
Back
Top