mustanggirl531
New Member
- Joined
- Aug 18, 2011
- Messages
- 3
Hi,
I am trying to write a macro so that if the value of one cell is > the value of another cell then a message box appears. I've tried to write it myself but it doesn't seem to work. I've named my two cells HoldUpVol and RinseVol.
Sub RinseMessageBox()
If HoldUpVol > RinseVol Then
MessageBox.Show(Prompt:="The hold up volume on the system selected is more than your rinse volume. Please choose another system.", Buttons:=vbOKOnly)
End If
End Sub
Any help would be greatly appreciated.
Thanks,
Jillian
I am trying to write a macro so that if the value of one cell is > the value of another cell then a message box appears. I've tried to write it myself but it doesn't seem to work. I've named my two cells HoldUpVol and RinseVol.
Sub RinseMessageBox()
If HoldUpVol > RinseVol Then
MessageBox.Show(Prompt:="The hold up volume on the system selected is more than your rinse volume. Please choose another system.", Buttons:=vbOKOnly)
End If
End Sub
Any help would be greatly appreciated.
Thanks,
Jillian