A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Setting up and Configuration
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Copy/Paste over rides data validation



 
 
Thread Tools Display Modes
  #1  
Old July 22nd, 2006, 03:29 PM posted to microsoft.public.excel.setup
JK
external usenet poster
 
Posts: 220
Default Copy/Paste over rides data validation

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


  #2  
Old July 23rd, 2006, 03:39 AM posted to microsoft.public.excel.setup
Alan
external usenet poster
 
Posts: 431
Default Copy/Paste over rides data validation

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.
"jk" wrote in message
...
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




 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Case Sensitivity problem with data validation Upya Worksheet Functions 3 October 7th, 2005 01:30 AM
PST file has reached maximum size Jeff C General Discussion 2 October 6th, 2005 01:35 PM
Unable to have multiple queries feeding a single report PZ Straube Setting Up & Running Reports 15 June 15th, 2005 08:16 AM
strategy for data entry in multiple tables LAF Using Forms 18 April 25th, 2005 04:04 AM
Format on data to import to Access tables? (I need your advice) Niklas Östergren General Discussion 5 December 13th, 2004 02:54 PM


All times are GMT +1. The time now is 03:23 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.