>>oexcel.Range(oexcel.activesheet.cells(7,3)).Select >>>>would work, but it doesn't.
>with oExcel.ActiveSheet > .Range(.Cells(7,3), .Cells(7,3)).Select() >endwith >>
>with oExcel.ActiveSheet > oExcel.ActiveSheet.Range(oExcel.ActiveSheet.Cells(7,3),; > oExcel.ActiveSheet.Cells(7,3)).Select() >endwith >>
>loSheet = loExcel.ActiveSheet >... >loSheet.Cells(...).Value = ... >loSheet.Range(loSheet.Cells(7,3), loSheet.Cells(7,3)).Select() >I'm still trying to get a grip on your technique. Suppose you captured a cell reference as in
cell1 = .activecellthen moved the cursor somewhere else and
cell2 = .activecellCell1 and cell2 now define the boundries of a range. How would you specify the sum of that range?
* move again and . . . .selection.value = '=sum(' + cell1 ':' cell2 + ')' && this is the idea