Hi,
I know this is more an Access forum, but maybe someone can help me.
I have the following code in a basic Excel Inventory worksheet :
Private Sub Assembly_Click()
Range("C3").Value = Range("C3").Value - Range("E3").Value
End Sub
Private Sub Received_Click()
Range("C3").Value = Range("C3").Value + Range("D3").Value
End Sub
It functions fine for the 3rd row, but I would like the code to apply to every row within the C, D, and E column.
is there an easy way to modify this code to specify all rows, or at least a decent set of rows , for example C3 through C100, etc....
Thanks for any input,
Brian
I know this is more an Access forum, but maybe someone can help me.
I have the following code in a basic Excel Inventory worksheet :
Private Sub Assembly_Click()
Range("C3").Value = Range("C3").Value - Range("E3").Value
End Sub
Private Sub Received_Click()
Range("C3").Value = Range("C3").Value + Range("D3").Value
End Sub
It functions fine for the 3rd row, but I would like the code to apply to every row within the C, D, and E column.
is there an easy way to modify this code to specify all rows, or at least a decent set of rows , for example C3 through C100, etc....
Thanks for any input,
Brian