Dont know where to begin

Triton225

New Member
Joined
Mar 11, 2009
Messages
1
Hey guys. I am having a hard time with this. I have a project that I am working on, its just a simple list of folks who make purchases, who they are, what they paid....... Each person is given a purchase number, and they are in consecutive order. So if a person made a purchase today, lets say they are number 5, that same person could make another purchase a few weeks later, and the number would be, lets say 66. So there will be duplicates obviously if the person orders more than once.

Here is the problem...

I have a column for bounced checks. So if the customer gives us a bad check, i will put an 'X' in that column. My boss wanted to know if it is possible, while entering a person, could there be an alarm or pop up that will tell us that this person in the past has given us a bad check.

So, lets say someone places and order today, check bounces. A month from now they make another order, I type in the name... Can an alert pop up saying this person bounced a check on us a month earlier?:confused::confused::confused::confused:
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Something similar to this might work


Private Sub Worksheet_SelectionChange(ByVal Target As Range)
name = activecell.value
With Sheets("Test").Range("D13")
nitems = Range(.Offset(1, 1), .End(xlDown)).Rows.Count
If Intersect(target, Sheets("Test").Columns(5)) Is Nothing Then exit sub
For n = 1 to nitems
if Range(.offset(n,0)).Value = "x" and Range(.Offset(n,1)) = name then
msgbox "This guy's a deadbeat!"
End if
end with
next n
end sub
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,606
Messages
6,120,497
Members
448,967
Latest member
visheshkotha

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