M
Mike McCollister
I am trying to figure this one out. I want to create a range on a sheet. I
know the row and column numbers for the upper left and the bottom right. I've
tried the following without any luck but I think that I am close:
-- begin code --
sheetOfInterest = "Sheet1"
topRow = 5
topColumn = 6
bottomRow = 10
bottomColumn = 20
rem THIS DOES NOT WORK
newRange = ThisWorkbook.Worksheets(sheetOfInterest).Range(Cells(topRow,
topColumn), Cells(bottomRow, BottomColumn))
-- end code --
Once I get this working then I can get the rest done .
Thanks,
Mike McCollister
know the row and column numbers for the upper left and the bottom right. I've
tried the following without any luck but I think that I am close:
-- begin code --
sheetOfInterest = "Sheet1"
topRow = 5
topColumn = 6
bottomRow = 10
bottomColumn = 20
rem THIS DOES NOT WORK
newRange = ThisWorkbook.Worksheets(sheetOfInterest).Range(Cells(topRow,
topColumn), Cells(bottomRow, BottomColumn))
-- end code --
Once I get this working then I can get the rest done .
Thanks,
Mike McCollister