andrewb90
Well-known Member
- Joined
- Dec 16, 2009
- Messages
- 1,077
Hello,
I have attempted (rather unsuccessfully) to combine 2 separate codes and now I can't get the message box to appear. Anybody have an input to help me?
Thanks,
Andrew
I have attempted (rather unsuccessfully) to combine 2 separate codes and now I can't get the message box to appear. Anybody have an input to help me?
Code:
Sub sales1()Dim Msg, Style, Title
Rows("125:136").Hidden = Not Rows("125:136").Hidden
If Range("K170").Value < Range("Info!E34") Then
Msg = "It looks like you are low on Pizza Baking Instructions. You have just " & Range("K170").Value & " instructions remaining."
Style = vbOKOnly + vbExclamation
Title = "MsgBox Demonstration"
End If
End Sub
Thanks,
Andrew