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

I want to test whether the values in 2 cells are equal.
The values will have the same reference but in different
workbooks.

I have something like this in mind...

Set a =
Set b =
If a.value = b.value Then
EndIf

if a is book1.xls and b is book2.xls and the cell
reference for each is Sheet1!A1 etc, how do I code these
references in VBA? Can if be done in the background or
does each sheet need to be activated.

Regards,

Walter
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
Compare workbooks Andy Excel Discussion (Misc queries) 11 April 5th 09 11:46 PM
how do you use vlookup to compare values between two workbooks sharie palmer Excel Worksheet Functions 0 November 30th 07 01:15 AM
Compare workbooks Scafidel Excel Discussion (Misc queries) 2 May 28th 07 09:15 PM
compare different workbooks kjstec Excel Worksheet Functions 1 October 17th 06 06:34 PM
compare values between workbooks and copy values bgardiner Excel Programming 0 September 9th 03 03:54 PM


All times are GMT +1. The time now is 12:18 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"