I often have problems with the cells range reference method.
For some reason I get an error and can't tell why. Other times it works fine. Is this just an unstable method to use or is this completely wrong? I'm assuming I am using the wrong syntax.
It is definetly the range reference causing the problem.
I have no idea why it won't work. I'm basically searching a columner range of cells.Dim cnt1 as integer, cnt2 as integer,cnt3 as integer
cnt1 = 2
cnt2 = 50
cnt3 = 2
dim myrange as range
set myrange = sheets("sheet1").range(cells(2,cnt1), cells(cnt2,cnt3))
Thanks
Danny2000
Bookmarks