Selecting multiple rows using two variables for the row numbers.
Posted by Brian Amoroso on April 10, 2001 5:49 PM
I already have two different row numbers in two different viariables, now I want
to do is highlight the region inbetween these two row numbers and hide them.
Here's the code I'm trying but it doesn't work.
The two variables (ABCBegin, ABCEnd) are defined as integers.
Why doesn't this code select these rows???
With ActiveSheet
.Rows("ABCBegin, ABCEnd").Select
Selection.EntireRow.Hidden = True
End With
Please help!!!!
Thank You.