erichmiller
New Member
- Joined
- Jul 28, 2014
- Messages
- 2
Hello Everyone,
I have values of what I have in stock in cells C7:C22.
I have a formula in cells H7:H22 that calculate start weight minus end weight when are entered into cells D7:D22 and E7:E22.
If the value changes in Column H which indicates we used some of the stock on hand I want the new value to be pasted into column c and the numbers entered on columns d and e to be deleted.
I have tried several things but cannot get it to run properly. Here is one of the thing sI have tried below
If E7>0 then
range("H7").Select
range("H7").Copy
range("C7").Paste
Range("E7").ClearContents
Range("D7").ClearContents
Else
End If
I have values of what I have in stock in cells C7:C22.
I have a formula in cells H7:H22 that calculate start weight minus end weight when are entered into cells D7:D22 and E7:E22.
If the value changes in Column H which indicates we used some of the stock on hand I want the new value to be pasted into column c and the numbers entered on columns d and e to be deleted.
I have tried several things but cannot get it to run properly. Here is one of the thing sI have tried below
If E7>0 then
range("H7").Select
range("H7").Copy
range("C7").Paste
Range("E7").ClearContents
Range("D7").ClearContents
Else
End If