LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 95
Default Worksheet vs. Worksheets

What's the difference? When do I use Worksheet? When do I use Worksheets?

The reason I'm asking is that I'm trying to find the value in cell A1 of the
first sheet of a workbook. This sheet may appear by different names. I've
successfully called this sheet before using
ActiveWorkbook.Worksheets("Sheet1").Range("A1").va lue. This time, I'm getting
a "Subscript out of Range" error.

Yeah - I wanna be a Geico Caveman...
--
Adios,
Clay Harryman
 
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
how can I split the worksheet in two different worksheets Eva New Users to Excel 1 July 23rd 08 10:11 AM
Copy worksheets to new worksheet and add a worksheet name column to new sheet. Lib Excel Programming 1 February 22nd 07 04:30 PM
Name of worksheets in one worksheet Rasoul Khoshravan Excel Worksheet Functions 6 October 20th 06 04:11 AM
Consolidate different worksheets into one worksheet Hennie Excel Discussion (Misc queries) 4 July 29th 06 12:36 AM
One worksheet into two worksheets hef[_4_] Excel Programming 12 December 12th 03 05:06 PM


All times are GMT +1. The time now is 06:36 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"