Sub usingthecolumns_and_range_property_to_spcify_a_range()
Dim x, y
x = Range("A1:B9").Rows.Count
y = Range("C10:D19").Rows.Count
MsgBox x + y
End Sub
iam not getting output with thos code
Sub usingthecolumns_and_range_property_to_spcify_a_range_V2()
' hiker95, 10/28/2017, ME1029096
Range("F3") = Range("A1:B9, C10:D19").Rows.Count
End Sub
Sub usingthecolumns_androws_property_to_spcify_a_range_V2()
Range("A1:B9, C10:D19").Rows.Count = Range("F3")
End Sub
iam not getting count with this code
OUTPUT SHOULD COME IN F3
Please find the attachment below
https://drive.google.com/open?id=0B-ZWlAv5DqaEWGl4UkZDMExPQk0