I have the following lines of code in one module that operates on sheet 1. I want three of these values to transfer to the second sheet as they're calculated. This method does what I want it to but the activate commands switches sheets which I don't want. There's multiple solutions to this that I can think of. I could use the worksheets("") prefix to refer to cells in that sheet. Or I could run another module in that sheet picking up values from the first one, separately.
But I wanted to learn what the most common and efficient method is because this feels like something very basic and easy. Not just for copying cells but for any other manipulation. A way to operate on another sheet without using "activate" and switching sheets.
Range("g2") = length
Range("g3") = t1
Range("g4") = t2
Range("g5") = ti
Range("g6") = freq
Worksheets("Sheet2").Activate
Range("b2") = t1
Range("b3") = t2
Range("b4") = ti
Is With Sheets ("") the best method to use here ?