lezawang
Well-known Member
- Joined
- Mar 27, 2016
- Messages
- 1,805
- Office Version
- 2016
- Platform
- Windows
Hi
I have one sheet in a workbooks, and that sheet I can call it
1) Sheet1
2) Sheets(1) or Worksheets(1)
3) Sheets("sheet1") or Worksheets("sheet1")
Sheet1, Sheets("sheet1") or Worksheets("sheet1") will always refer to that sheet no matter what except if the sheet name has been changed then only Sheet1 will refer to that sheet
Sheets(1) or Worksheets(1), will always refer to that sheet unless its tab physically move to different location.
So Sheet1 will always refer to that sheet no matter what, if name is changed or location. So I can use that name in my code to avoid any problem from changing name and location. Am I right
I have one sheet in a workbooks, and that sheet I can call it
1) Sheet1
2) Sheets(1) or Worksheets(1)
3) Sheets("sheet1") or Worksheets("sheet1")
Sheet1, Sheets("sheet1") or Worksheets("sheet1") will always refer to that sheet no matter what except if the sheet name has been changed then only Sheet1 will refer to that sheet
Sheets(1) or Worksheets(1), will always refer to that sheet unless its tab physically move to different location.
So Sheet1 will always refer to that sheet no matter what, if name is changed or location. So I can use that name in my code to avoid any problem from changing name and location. Am I right