Re: Copying certain cells from each row to another sheet for invoice
Hey Mike
I couldn't open the attachment but that is OK. Try this version of the Save method.
Take care
Smallman
Code
Sub UpdateStock()
Dim i As Integer
Dim ans As String
ans = MsgBox("Do you want to update Stock?", vbYesNo)
If ans = vbNo Then
Exit Sub
Else
For i = 6 To 300
Sheet1.Range("L" & i).Value = Range("E" & i).Value - Range("C" & i).Value
Next
Sheet1.Range("C6:C300").Value = 0
End If
End Sub
Display More