Pinaceous
Well-known Member
- Joined
- Jun 11, 2014
- Messages
- 1,113
- Office Version
- 365
- Platform
- Windows
Hi All,
I'm working with a
code, where I would like to provide the code to check for an interior cell color red in the range of B11:AI180.
I was experimenting with the following but I cannot make it work.
Do you think you can help?
Many thanks!
-Pinaceous
I'm working with a
VBA Code:
Private Sub Workbook_Close()
I was experimenting with the following but I cannot make it work.
VBA Code:
Dim response As VbMsgBoxResult
response = MsgBox("Highlighted cells are found on your sheet. Do you want them to be corrected", vbYesNo)
If response = vbYes Then
MsgBox "Please make the corrections."
Exit Sub
If response = vbNo Then
'MsgBox "Continues to close document."
Exit Sub
End If
Do you think you can help?
Many thanks!
-Pinaceous