Hello. How can I select the range that aligns with the last row and last column in this sheet? C2:E3 in attached sheet.
Hello. How can I select the range that aligns with the last row and last column in this sheet? C2:E3 in attached sheet.
try so
![]()
Range("A1").CurrentRegion.Select
That doesn't select the area that I want. I want C2:E3.
Nice Nilem. That's that good good.
And once I figure out how to select the range, how can I fill it with formulas like this. =SUMIFS(Master!$D$2:$D$5,Master!$C$2:$C$5,'101'!$B2,Master!$B$2:$B$5,'101'!C$1)
Maybe:
![]()
Sub ammartino44z() Dim x As Long, y As Long, z As Long x = Range("A" & Rows.Count).End(3).row y = Cells(1, Columns.Count).End(xlToLeft).Column z = Range("C" & Rows.Count).End(3)(2).row Range(Cells(z, 3), Cells(x, y)).Select End Sub
@ John "Big" D. What does End(3) mean? And what does End(3)(2) mean? Danks.
End(3) - same as End(xlUp)
End(3)(2) - same as End(xlUp).Offset(1)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks