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


That is what I did when I had the problem

--
Break8
-----------------------------------------------------------------------
Break80's Profile: http://www.excelforum.com/member.php...fo&userid=1527
View this thread: http://www.excelforum.com/showthread.php?threadid=26900

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

Workbooks("workbook.xls").Worksheets("sheet") record. Error is
"subscript out of range."

the error means
workbook.xls doesn't exist
or
sheet doesn't exist.

If you have a workbook named workbook.xls and it contains a sheet named
sheet and it is open in excel, then you wouldn't get the error. (this
statement is based on what you have told us).

--
Regards,
Tom Ogilvy

"Break80" wrote in message
...

That is what I did when I had the problem.


--
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
Compare two worksheets using VBA in Microsoft Excel Break80 Excel Programming 1 October 13th 04 08:16 PM


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