T
TeddyBear
In Excel I have written a macro that scrolls down the rows of a spreadsheet.
I hole the starting row in a variable vStartVendrow and when I identify a
change in one of the columns I store the last row in variable vEndVendrow. I
would like to achieve the same thing as the following statement would
Range("A9:N10").Select
I know the columns to select e.g. A thru to N but my rows are in variables.
Hence I would like to achieve the following:
Range("AvStartVendrow9:NvEndVendrow").Select
I know the statement above does not work How can I achieve what I am trying
to do.
I hole the starting row in a variable vStartVendrow and when I identify a
change in one of the columns I store the last row in variable vEndVendrow. I
would like to achieve the same thing as the following statement would
Range("A9:N10").Select
I know the columns to select e.g. A thru to N but my rows are in variables.
Hence I would like to achieve the following:
Range("AvStartVendrow9:NvEndVendrow").Select
I know the statement above does not work How can I achieve what I am trying
to do.