VBA Code for Check Verification

thematulaak

New Member
Joined
May 12, 2021
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi guys I need help with a VBA code for the checks in my models. If the cell is more or less than 0 I would like to highlight it a light red, and if it's 0, light green. In addition to this if the cell exceeds 0 I would like a dialogue box to pop up with "Verify Check". Would appreciate it heaps, thanks.
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Thanks! So this is the logic I want to code.

- Current Cell Selection
- Keyboard Shortcut: Cntrl Shift + C
- If more or less than 0 = Light Red
- If 0 = Light Green
- If more or less than 0 = Message Box "Verify Check"

So in essence I want to ensure than when changing the model I am notified when the check does not zero out.
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,165
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top