![]() |
How to use row and column number instead of "E1" designation?
How can I modify the expression;
Set myRange = Workbooks(2).Worksheets("Sheet1"). _ Range("E1") to use a column and row number reference such as Cells(1,5) instead of the "E1" designation? When I use; Set myRange = Workbooks(2).Worksheets("Sheet1"). _ Range.Cells(1, 5) I get a runtime error. Thanks, Keith |
How to use row and column number instead of "E1" designation?
"keithb" wrote in
: How can I modify the expression; Set myRange = Workbooks(2).Worksheets("Sheet1"). _ Range("E1") to use a column and row number reference such as Cells(1,5) instead of the "E1" designation? When I use; Set myRange = Workbooks(2).Worksheets("Sheet1"). _ Range.Cells(1, 5) I get a runtime error. Thanks, Keith What if you leave out "Range."? -- It is I, DeauDeau (Free after monsieur Leclerc in 'Allo, 'allo) |
All times are GMT +1. The time now is 11:36 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com