i'd suggest declaring a worksheet variable for ease of use:
then to point that variable to the right template use this line below (i can't tell which sheet contains the selection - for the purpose of this answer i will assume it's in a sheet named "Summary" and the template selection is sitting in cell a3 of that sheet)![]()
dim whichTemplate as worksheet
![]()
set whichTemplate = thisworkbook.worksheets(thisworkbook.worksheets("Summary").range("A3").value)
Bookmarks