Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Duplication warning

Does anyone know how to creat a macro that runs in the background an
preforms the following:

If a enter information into a spreadsheet, then keep updating thi
spreadsheet with information there is away if i enter information int
a row and it is exactley the same as a perious row a error box pops u
adn says this is a dupication?

Regards
Pau

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Duplication warning

Hi
though this will not create a popup it will highlight your cell. Try
the following:
- Select your entire column (lets say col A, starting in row 1)
- goto 'Format - Conditional Format' and enter the following formula:
=COUNTIF($A:$A,A1)1
choose a format to highlight a duplicate entry

For more information you may have a look at
http://www.cpearson.com/excel/duplic...tingDuplicates
http://www.cpearson.com/excel/NoDupEntry.htm


--
Regards
Frank Kabel
Frankfurt, Germany

Does anyone know how to creat a macro that runs in the background and
preforms the following:

If a enter information into a spreadsheet, then keep updating this
spreadsheet with information there is away if i enter information

into
a row and it is exactley the same as a perious row a error box pops

up
adn says this is a dupication?

Regards
Paul


---
Message posted from http://www.ExcelForum.com/


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Duplication warning

Possibly using data= validation. If you are checking duplication for a
set of multiple columns, this might be less practical.

the alternative would be to use the change event for the worksheet.

See Chip Pearson's page on events
http://www.cpearon.com/excel/events.htm

--
Regards,
Tom Ogilvy

"pauluk " wrote in message
...
Does anyone know how to creat a macro that runs in the background and
preforms the following:

If a enter information into a spreadsheet, then keep updating this
spreadsheet with information there is away if i enter information into
a row and it is exactley the same as a perious row a error box pops up
adn says this is a dupication?

Regards
Paul


---
Message posted from http://www.ExcelForum.com/



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Duplication warning

You can also look at Chip Pearson's page on dealing with duplicates and
uniques for some other ideas:

http://www.cpearson.com/excel/duplicat.htm

--
Regards,
Tom Ogilvy

"pauluk " wrote in message
...
Does anyone know how to creat a macro that runs in the background and
preforms the following:

If a enter information into a spreadsheet, then keep updating this
spreadsheet with information there is away if i enter information into
a row and it is exactley the same as a perious row a error box pops up
adn says this is a dupication?

Regards
Paul


---
Message posted from http://www.ExcelForum.com/



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Duplication Lorenza@hsccs Excel Worksheet Functions 1 May 5th 10 06:10 PM
Duplication Macro stew Excel Discussion (Misc queries) 0 February 19th 09 12:28 PM
Duplication PMST Excel Discussion (Misc queries) 2 February 19th 08 03:18 PM
Duplication Welthey Excel Discussion (Misc queries) 2 January 15th 07 09:48 PM
prevent duplication Ben Blair Excel Discussion (Misc queries) 1 May 21st 05 03:59 AM


All times are GMT +1. The time now is 05:03 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"