Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Setup / July 2006

Tip: Looking for answers? Try searching our database.

Copy/Paste over rides data validation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jk - 22 Jul 2006 15:29 GMT
Hello,

The data validation response i received on my intial posting worked when you
manually key in the same value preventing duplication but when i tried to
copy and paste the same value it  ignored data validation and allowed a
duplicate entry. I need something that will worked weather manually keying or
copy and paste to prevent duplicates. Does this require VB or macro use?

Thanks

jk" wrote:
> I need something that would highlight the cell entry if there is a duplicate
> entry located on the sheet.For instance, i enter account N15650 in the
> account column and if this entry has previosly been made in the same column
> then i want this new entry to be highlighted as a flag for me.Does this
> require  a macro or vb for this action?

Perhaps try also Data Validation ..

Assuming it's for inputs into col A ..

Select col A
Click Data > Validation
Allow: Custom
Formula: =COUNTIF(A:A,A1)<2
Click OK
Alan - 23 Jul 2006 03:39 GMT
Data Validation only works if you enter something into the cell concerned
and hit Enter, this is documented in Help. Copying or cutting a value into
the cell will not trigger the validation and also dragging a value from an
adjacent cell will not trigger it either.
It may be possible to do this using code but I'm not sure. Try posting to
Excel Pogramming , there are a lot of very well informed people on there,
Regards,
Alan.
> Hello,
>
[quoted text clipped - 26 lines]
> Formula: =COUNTIF(A:A,A1)<2
> Click OK
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.