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

can anybody help with the VBA for comparing data in two worksheets and
delete the matching data or copy the data that cannot be matched
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default reconciliation

dim i as integer, j as integer
for i = 1 to maxrows
for j = 1 to maxcols
if sheets("Sheet1").cells(i,j) = sheets("Sheet2")_
.cells(i,j) then
sheets("Sheet1").cells(i,j).ClearContents
sheets("Sheet2").cells(i,j).ClearContents
endif
next j
next i


this deletes the data that is matched in both sheets.
John.
-----Original Message-----
can anybody help with the VBA for comparing data in two

worksheets and
delete the matching data or copy the data that cannot be

matched
.

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
Reconciliation osaka78 Excel Discussion (Misc queries) 1 February 24th 10 03:12 PM
How can I formulate a reconciliation? Gorilla Show Excel Discussion (Misc queries) 2 March 11th 08 12:07 AM
reconciliation of numbers Dave F[_2_] Excel Discussion (Misc queries) 2 November 5th 07 07:05 PM
reconciliation in different currencies jzambran Excel Discussion (Misc queries) 2 August 17th 07 01:35 PM
Stock Reconciliation rajeev Excel Worksheet Functions 1 May 16th 05 10:02 AM


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

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"