I have the following code:
Thoughts?
ps
This is the best board on the net
My goal is to reference two cells from another sheet, then combine them at the bottom of my table in column "H". I'm having trouble with merging them, it seems to work once then I can't get it to give me the same results.Dim LastSheet As String
LastSheet = Worksheets(Worksheets.Count).Name
With Worksheets("Summary")
lMaxRows = .Cells(.Rows.Count, "AA").End(xlUp).Row
.Range("aa" & lMaxRows + 1).Formula = "='" & LastSheet & "'!Bx7"
lMaxRows = .Cells(.Rows.Count, "AB").End(xlUp).Row
.Range("AB" & lMaxRows + 1).Formula = "='" & LastSheet & "'!Bx8"
ActiveCell.Offset(0, 10).FormulaR1C1 = "=RC27 & RC28"
Thoughts?
ps
This is the best board on the net