Computer Learning Zone CLZ Access Excel Word Windows

Let the improvement of yourself keep you so busy that you have no time to criticize others.

-Roy T. Bennett
 
Home   Courses   Index   Templates   Seminars   TechHelp   Forums   Help   Contact   Join   Order   Logon  
 
Home > Forums > Excel
Back to Excel Forum    Comments List
verifying correct input of data Upload Images   Link   Email  
Alex Hedley 
A simple check could be to add a Formula and some Conditional Formatting just as a visual aid.

Say you have the values in columns A and B you could create a third column and add the following formula:

=IF(B1="", "", IF(A1=B1,"MATCH","DON'T MATCH"))

You could add some Conditional Formatting to that.

I've not had much time to test anything in code.
Would you have set columns or a range to work with?
How are you entering the data? Will it be column by column, left to right?
If these are set it would make it easier.
If not you could do something with ActiveCell and Offset.


Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    If ActiveCell.Value <> ActiveCell.Offset(0, -1).Value Then
            MsgBox "Don't match"
        End If
End Sub

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Excel Forum.
 

 
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2024 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 3/28/2024 9:53:22 AM. PLT: 0s