lezawang
Well-known Member
- Joined
- Mar 27, 2016
- Messages
- 1,805
- Office Version
- 2016
- Platform
- Windows
Hi
I am adding/deleting/moving/copying sheets in one workbook. So the order of sheets get change, their names get change sometime, etc.
I have all Control buttons in Sheet1. So right now I can refer to that sheet as
Sheets(1)
Sheets("sheet1")
but lets say later on I changed the order of the sheets so it wont be sheet 1 anymore, and also change the name of all sheets so it is not sheet1 anymore. Is there any way to hard code the name of a sheet so I can always using it no matter what happen. Thank you.
Thank you.
I am adding/deleting/moving/copying sheets in one workbook. So the order of sheets get change, their names get change sometime, etc.
I have all Control buttons in Sheet1. So right now I can refer to that sheet as
Sheets(1)
Sheets("sheet1")
but lets say later on I changed the order of the sheets so it wont be sheet 1 anymore, and also change the name of all sheets so it is not sheet1 anymore. Is there any way to hard code the name of a sheet so I can always using it no matter what happen. Thank you.
Thank you.