In the VB editor, I changed my sheet's codename and I'm trying to use code to reference the sheet's codename instead of the worksheet name itself because the user can modify the sheet names in on the sheet tab. In the VB editor, I have ShtTestingData(Sheet1). Instead of using, I'm trying to useSet oWS = ActiveWorkbook.Worksheets("Sheet1"). However, it is not working. Am I missing something?Set oWS = ActiveWorkbook.ShtTestingData
Also, using the same sheet name above, how would I re-write the following using the sheet's codename?
ThisWorkbook.Worksheets("Sheet1").Range("WorkersName").Value = bciValue
Bookmarks