Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Range with numerical data
What would be the correct code for the following range : Range A12:D24 count1= 12 count2=24 I am writing the following , but it does not work : Range ( "A & count1 : D" & count2).Select Thanks, Moises |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Range with numerical data
Use this
Range("A" & count1 & ":D" & count2).Select -- Regards Ron de Bruin http://www.rondebruin.nl "Moises" wrote in message ... What would be the correct code for the following range : Range A12:D24 count1= 12 count2=24 I am writing the following , but it does not work : Range ( "A & count1 : D" & count2).Select Thanks, Moises |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Range with numerical data
Almost there!
Range ( "A & count1 & ": D" & count2).Select -- HTH RP (remove nothere from the email address if mailing direct) "Moises" wrote in message ... What would be the correct code for the following range : Range A12:D24 count1= 12 count2=24 I am writing the following , but it does not work : Range ( "A & count1 : D" & count2).Select Thanks, Moises |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Range sort with numerical ranking | Excel Worksheet Functions | |||
Sum used in macro where range stops at first non numerical cell | Excel Worksheet Functions | |||
Entering numerical range | Excel Discussion (Misc queries) | |||
Determing a range from numerical data | Excel Programming | |||
Select all cells in a range with a certain numerical value | Excel Programming |