I am trying to collect data from a cell from one sheet(3 Combined I) and pass it to a cell in another sheet(5 Gas I) using vba via a command button. This is what I have tried to use but it insteads copies the formula within that cell from sheet 3 Combined I?
Private Sub CommandButton1_Click()
Worksheets("3 Combined I").Range("e23").Copy Destination:=Worksheets("5 Gas I").Range("d10")
End Sub