aadil_1408
New Member
- Joined
- Jan 3, 2021
- Messages
- 16
- Office Version
- 2019
- Platform
- Windows
Hi,
I am trying to select multiple sheets using the following code.
Although it is a common code it does not work with the later versions of excel as other people online have encountered similar issues. Is there another way to selects all sheets except first two?
Thanks and Regards,
Aadil Khan
I am trying to select multiple sheets using the following code.
VBA Code:
Dim x As Integer
ThisWorkbook.Worksheets(3).Select
For x = 3 To ThisWorkbook.Worksheets.count
Worksheets(x).Select (False)
Next x
Although it is a common code it does not work with the later versions of excel as other people online have encountered similar issues. Is there another way to selects all sheets except first two?
Thanks and Regards,
Aadil Khan