LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Checking for duplicate data

Hi, I have already posted a question on this but am still struggling with it

I have a spreadsheet which has the cells in a row populated by code from from in a source sheet using the following

With worksheets("Deals"

Set rng = .cells(Rows,Count,1).End(x1up) (2
End wit

rng.Offset(0,0).Value= Worksheets("Sheet1").Range ("Customer"
rng.Offset(0,1).Value= Worksheets("Sheet1").Range ("Date"

etc for the rest of the cells in the row

I need the code to check the target sheet to ensure that the content from the source sheet is not already present in a previous row. i.e avoid duplicating information in the target. If so an eroor message is to be displayed and the operation cancelled


 
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
Checking For Duplicate Entries in a Userform robinsn Excel Discussion (Misc queries) 0 August 19th 10 01:28 PM
Formula for checking duplicate numbers Ron[_5_] Excel Discussion (Misc queries) 3 March 13th 10 03:55 PM
Checking for duplicate entries Daniel- Sydney Excel Discussion (Misc queries) 3 November 7th 06 09:16 AM
Checking for duplicate items in list TheRobsterUK Excel Worksheet Functions 3 November 10th 05 06:03 PM
checking for duplicate worksheets Rick B[_6_] Excel Programming 1 January 22nd 04 06:25 PM


All times are GMT +1. The time now is 07:06 AM.

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

About Us

"It's about Microsoft Excel"