I am trying to create a routine in VBA which will copy “D5:D55” to another location, calculated calculated via an OFFSET with the value of the offset taken from cell Q1.
Range(“D5:K55”).Select
Selection.Copy
ActiveCell.Offset(17 + (q1.Value * 10), 0).Range(“A1”).Select
Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:=False, Transpose:=False
I know it is probably something basic, but how can I use the value of cell Q1 in the calculation above.
For values of Q1 it shuld give the following results:
Q1 Result
1 27
2 37
3 47
4 57
5 67
Any help appreciated