Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
My preference is to avoid strings if possible.
Sub Demo() Dim r1 As Long Dim r2 As Long r1 = 1 r2 = 7 Rows(r1).Resize(r2 - r1 + 1).Select End Sub -- Dana DeLouis "J@Y" wrote in message ... How would I express Range ("1:7") by replacing the 1 and the 7 with integer variables? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
Read ".dll" files, the Macro "work flow" and the actual values of the variables when Macro is running | Excel Programming | |||
use variable in Workbooks("book1").Worksheets("sheet1").Range("a1" | Excel Programming | |||
Using "Cells" to write "Range("A:A,H:H").Select" | Excel Programming |