Advertisement

10.09.2004 at 04:24PM PDT, ID: 21162343
[x]
Attachment Details

Find last data entered

Asked by rowsen in Microsoft Excel Spreadsheet Software

Tags: , , ,

Hi Experts,

I  have the following code in an excel message box that pops up when the wrong data is entered.

For Each c In Range("D5:FU211").Cells
If c.Value = "ERROR" Then _
MsgBox "Ending Date Must be Later than Beginning Date", _
vbCritical, "Date Error: " & c.Address(0, 0)
Next c

Is there a code to add to the pop up above that will either highlight or delete the last cell data input that caused the error function above.

I know this can be done with the undo button in the heading bars, but I would like for it to happen automaticly when the pop up occurs. The cell that triggers the message box has a validation function with choices to choose a date.

Thank you for your help,

RobertStart Free Trial
[+][-]10.09.2004 at 04:38PM PDT, ID: 12268514

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.09.2004 at 04:59PM PDT, ID: 12268553

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.09.2004 at 05:19PM PDT, ID: 12268591

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.09.2004 at 05:49PM PDT, ID: 12268637

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.09.2004 at 05:57PM PDT, ID: 12268658

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.09.2004 at 06:02PM PDT, ID: 12268672

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.09.2004 at 06:23PM PDT, ID: 12268725

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.09.2004 at 06:52PM PDT, ID: 12268838

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.09.2004 at 07:08PM PDT, ID: 12268854

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Microsoft Excel Spreadsheet Software
Tags: excel, last, find, data
Sign Up Now!
Solution Provided By: byundt
Participating Experts: 2
Solution Grade: A
 
 
[+][-]10.09.2004 at 07:22PM PDT, ID: 12268878

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.09.2004 at 07:32PM PDT, ID: 12268897

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32