Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Compare two worksheets using VBA in Microsoft Excel


I found and ran the code contained on the Joseph Rubin's ExcelTip.com
website. The tip is called "Compare two worksheets using VBA in
Microsoft Excel" and contains all the code. Buton running the code, I
had a problem. I fails to compile on execution on the record ...
Workbooks("workbook.xls").Worksheets("sheet") record. Error is
"subscript out of range." Not being an expert at this, I don't know
how to fix it. Anyone know how to fix this? Please email me as I am
in a big hurry to do this compare if you know what the issue
is...thanks.


--
Break80
------------------------------------------------------------------------
Break80's Profile: http://www.excelforum.com/member.php...o&userid=15277
View this thread: http://www.excelforum.com/showthread...hreadid=269002

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Compare two worksheets using VBA in Microsoft Excel

Replace Workbook.xls with the name of one of the workbooks and Sheet with
the name of the Sheet in that workbook.

I assume you will need to make a similar correction for the sheet being
compared to.
--
Regards,
Tom Ogilvy


"Break80" wrote in message
...

I found and ran the code contained on the Joseph Rubin's ExcelTip.com
website. The tip is called "Compare two worksheets using VBA in
Microsoft Excel" and contains all the code. Buton running the code, I
had a problem. I fails to compile on execution on the record ...
Workbooks("workbook.xls").Worksheets("sheet") record. Error is
"subscript out of range." Not being an expert at this, I don't know
how to fix it. Anyone know how to fix this? Please email me as I am
in a big hurry to do this compare if you know what the issue
is...thanks.


--
Break80
------------------------------------------------------------------------
Break80's Profile:

http://www.excelforum.com/member.php...o&userid=15277
View this thread: http://www.excelforum.com/showthread...hreadid=269002



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
Excel VBA. Compare 2 worksheets. u473 Excel Worksheet Functions 3 September 26th 08 08:36 PM
Relative referencing in Microsoft Excel between worksheets SeveranceD Excel Discussion (Misc queries) 3 September 7th 06 11:39 PM
Can I compare two worksheets using Excel? Cecilia Excel Worksheet Functions 5 August 31st 06 08:58 PM
Compare 2 similar excel worksheets Nadia Excel Worksheet Functions 3 July 28th 06 02:20 PM
How to file compare Excel worksheets wrdennig New Users to Excel 3 April 21st 06 02:28 AM


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