New Student 2020
New Member
- Joined
- Sep 1, 2020
- Messages
- 9
- Office Version
- 365
- Platform
- Windows
Hello there
I was wondering if it is possible to add a second macro/rule to the same worksheet?
this one below is already on a worksheet:
I would also like to add another one to the same worksheet so that when the value of a certain cell/range is between a range for example 5 and below, a pop up message box will alert of the low stock number and also show the name of the stock item contained in another cell.
is that possible?
Thank you very much
Franco
I was wondering if it is possible to add a second macro/rule to the same worksheet?
this one below is already on a worksheet:
VBA Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column <> 7 Then Exit Sub
If Target.Cells.Count > 7 Then Exit Sub
With Target.Offset(0, -6)
.Value = Now
.NumberFormat = "DD/MM/YYYY"
End With
End Sub
I would also like to add another one to the same worksheet so that when the value of a certain cell/range is between a range for example 5 and below, a pop up message box will alert of the low stock number and also show the name of the stock item contained in another cell.
is that possible?
Thank you very much
Franco
Last edited by a moderator: