Configuration: Windows Vista Internet Explorer 7.0
Hello E-Coli !
the square brackets are used for relative adressing : if the active cell is C3 (third row / third column), R[-2]C[7] corresponds to J1 (2 rows backwards and 7 columns forward) For absolute adressing, do not use the square brackets : R2C7 corresponds to $G$2 (second row / seventh column) Ivan |
Ivan-Hoe,
Thank you very much. I can't believe something so simple was causing me such problems. I have another one for you: How can I automatically create and name worksheets in a workbook based on a list that exists in another sheet "Summary" in the workbook? The list begins at cell A10. Mind you, this list will vary from workbook to workbook. Do you have some code already compiled to perform this? E-Coli |
|
I do not have any code already compiled for what you want, but let me give you some tips
Sheets.Add After:=Sheets(Sheets.Count) 'creates a new worksheet Sheets(Sheets.Count).Name = "MyName" ' rename the new worksheet to repeat this as many times as you have names in your list, use a loop (e.g. For Each ... Next) For Each MyCell In MyRange 'MyRange is the range containing your list ' instructions Next MyCell Ivan |
Results for
Results for
Results for
Results for
Results for
Results for