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

Auto Fill Down

Dear Ninjas,

How can i make the following code to a single string!

Code:
Sub lastRow()
  Dim lastRow As Long
  lastRow = Range("B" & Rows.Count).End(xlUp).Row
  Range("C41").AutoFill Destination:=Range("C41:C" & lastRow)
  Range("D41").AutoFill Destination:=Range("D41:D" & lastRow)
  Range("E41").AutoFill Destination:=Range("E41:E" & lastRow)
  Range("F41").AutoFill Destination:=Range("F41:F" & lastRow)
End Sub
 
Back
Top