I want to get values from other sheets.
I have some values in Excel (sheet2) for example:
A B C D
- - - -
1 | 2 5 9 12
2 | 5 8
Usually I use this code (into a VBA macro) for getting a cell's value from another cell's value from another sheet:
Range("Y3") = ActiveWorkbook.Worksheets("Reference").Range("X4")
The cell Y3 is into a sheet that I called it "Calculate" The cell X4 is into a sheet that I called it "Reference" The VBA macro has been run when the "Calculate" in active sheet.