hmltnangel
Active Member
- Joined
- Aug 25, 2010
- Messages
- 290
- Office Version
- 365
- Platform
- Windows
Hi All,
Kind of a follow on from a query I had a few weeks back. But an additional piece is needed to the code now, and I keep getting it the wrong way around. So hopefully someone can offer the right method for me.
This is the code.
The initial part of the code, if the cell colour was orange works great. It pops up the message box as required. However the change thats needed now is to only have the pop up box if the value is changed, and the colour is orange. I did try adding a little bit to the front of the code, but its not working if the value is changed, it only works if the value is greater than 0 and Orange.
thanks
Kind of a follow on from a query I had a few weeks back. But an additional piece is needed to the code now, and I keep getting it the wrong way around. So hopefully someone can offer the right method for me.
This is the code.
VBA Code:
If Target.Value > 0 Then
If Target.DisplayFormat.Interior.Color = 8696052 Then
MsgBox "Blah Blah Blah"
End If
End If
The initial part of the code, if the cell colour was orange works great. It pops up the message box as required. However the change thats needed now is to only have the pop up box if the value is changed, and the colour is orange. I did try adding a little bit to the front of the code, but its not working if the value is changed, it only works if the value is greater than 0 and Orange.
thanks