Use the format I posted as you can use only numbers for both row and column.
VB Code:
oCell1 = [i]Sheet1[/i].Cells(1, 1) oCell2 = [i]Sheet1[/i].Cells(2, 1) [i]Sheet1.[/i]Range(oCell1, oCell2).Select() '... 'But you dont need to "Select" the cell as it slows down 'your code and also because you can just reference the cell. file = [i]Sheet1.[/i]Range(oCell1, oCell2).Value





Reply With Quote