Hi !
As creating a workbook variable is often useless to just create a worksheet variable !
Like Set Ws1 = ThisWorkbook.Sheets("Sheet2")
As obviously ThisWorkbook is already the workbook variable object so not necessary to duplicate it !
As the sheet is within Thisworkbook object so creating a worksheet variable is useless as already exists its CodeName Sheet2,
exactly like a worksheet variable
As both ThisWorkbook & sheets CodeNames are already Public at project level so already available for any VBA procedure !
Bookmarks