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

When and why would I want to use the Worksheets property as opposed to the
Sheets property?

e.g.,

this = Worksheets("Sheet1").Cells(1,1)

or

that = Sheets("Sheet1").Cells(1,1)

Thanks much.


Kevin
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Sheets and Worksheets

When you want to exclude any non worksheet sheets, such as chart sheets.

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Kevin" wrote in message
...
When and why would I want to use the Worksheets property as opposed to the
Sheets property?

e.g.,

this = Worksheets("Sheet1").Cells(1,1)

or

that = Sheets("Sheet1").Cells(1,1)

Thanks much.


Kevin



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Sheets and Worksheets

Worksheets are only worksheets; Sheets include Charts, etc.
--
Gary''s Student - gsnu200771


"Kevin" wrote:

When and why would I want to use the Worksheets property as opposed to the
Sheets property?

e.g.,

this = Worksheets("Sheet1").Cells(1,1)

or

that = Sheets("Sheet1").Cells(1,1)

Thanks much.


Kevin

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
Difference between Worksheets. and Sheets. is...? Jay Excel Programming 2 February 19th 07 09:20 PM
TIP: Worksheets vs. Sheets (w/Charts) Count EphesiansSix[_3_] Excel Programming 2 July 11th 06 08:59 PM
Delete worksheets and the code sheets remain? Mike[_106_] Excel Programming 2 April 2nd 06 10:43 PM
Sheets or Worksheets Piranha Excel Programming 2 May 28th 05 03:55 PM
Difference between sheets and worksheets? Alan Excel Programming 2 May 15th 04 07:48 PM


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