In support to answer of this Thread:
http://www.excelfox.com/forum/showth...ll=1#post11557
_____ Workbook: VBA.xls ( Using Excel 2007 32 bit )
Worksheet: abc
Row\Col A 1 1234 2 5678 3 91011 4 12131415 5 1617181920
'match column A of abc sheet with column A of def sheet
' if it matches then delete that data in column A of def
' "match column A of abc sheet with column A of def sheet if it matches then delete that data in column A of def"
_____ Workbook: VBA.xls ( Using Excel 2007 32 bit )
Worksheet: def
Row\Col A B C 1 1234 2 15678 3 191011 4 112131415 5 16171811920after the process completed delete all the data in this sheet
_____ Workbook: VBA Exampled.xls ( Using Excel 2007 32 bit )
Worksheet: def
15678 191011 112131415 16171811920
_____ Workbook: VBA Exampled.xls ( Using Excel 2007 32 bit )
'and the data which are not matched compare that data ( here 'that data' means unmatched data in abc. Right? ) with Fake Data and
' if matched then delete and again if there will be unmatched data ( here also 'unmatched data' means unmatched data in abc. Right? ) then
_____ Workbook: VBA.xls ( Using Excel 2007 32 bit )
Worksheet: Fake Data
Row\Col A 1 115678 2 191011 3 1112131415 4 1.16172E+11
_____ Workbook: VBA Exampled.xls ( Using Excel 2007 32 bit )
Worksheet: def
15678 112131415 16171811920
Worksheet: Fake Data
115678 1112131415 1.16172E+11
'................................................. ...................if there will be unmatched data then
' compare that data with complete data
_____ Workbook: VBA.xls ( Using Excel 2007 32 bit )
Worksheet: Completed
Row\Col A B 1 115678 2
' if found then delete and again if there will be unmatched data
Worksheet: Fake Data
1112131415 1.16172E+11
then
' copy that data and paste it to missing data sheet in column A ( and finally delete all the data in def : after the process completed delete all the data in this sheet )
_____ Workbook: VBA.xls ( Using Excel 2007 32 bit )
Worksheet: Missing data
Row\Col A B 1 11111158 2 1112131415 3 1.16172E+11 4
_____ Workbook: VBA Exampled.xls ( Using Excel 2007 32 bit )
Worksheet: Missing data
11111158 1112131415 1.16172E+11





Reply With Quote
Bookmarks