

The ‘Sheets’ collection would refer to all the worksheets as well as chart sheets in the workbook.In the above example, the Worksheets collection would consist of three worksheets. The ‘Worksheets’ collection would refer to the collection of all the worksheet objects in a workbook.The example below has three worksheets and one chart sheet. In a workbook, you can have worksheets and as well as chart sheets.

In VBA, you have two collections that can be a bit confusing at times. Creating a Table of Contents of All Worksheets (with Hyperlinks)ĭifference between Worksheets and Sheets in VBA.Protect/Unprotect All the Sheets at One Go.Sorting the Worksheets in an Alphabetical Order.Hide Worksheets Using VBA (Hidden + Very Hidden).Assigning Worksheet Object to a Variable.

