Is it possible when Excel Hits a certain point total in a cell that it can atomically generate a Warning Letter?

Leicester City Fox

Board Regular
Joined
Oct 7, 2016
Messages
91
Office Version
  1. 2019
Platform
  1. Windows
Hi All

If a certain Cell hit a certain value say 10 point or over, is there away once this result appears in excel to automatically generate a fine notice for that provider with there details in other cells, Name, address?



Any simple ideas if this is possible or just a case of eyeballing the excel sheet and doing a letter and in word manually.

Many Thanks for your thoughts.

Leicester Fox
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Use a worksheet change event.
The code will run only if 10 points is hit. If you want to send a letter every time more points are added then use Target.Value>10
VBA Code:
Private Sub Worksheet_change(ByVal Target as Range)
If Target.Column= ColumnInWhichThePointsAre and Target.Value=10 then

'----Code here using target.offset(0,n) to access appropriate cells for name, address, etc.

End If

For code to populate a letter in word, straight from VBA look here.

Champions League 2021
 
Upvote 0

Forum statistics

Threads
1,214,917
Messages
6,122,233
Members
449,075
Latest member
staticfluids

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