How to refer to a Excel Worksheet by its VBA Object Name in another Workbook?
问题 I have two Excel Workbooks: Source.xlsx Tool.xlsm Source.xlsx contains a Worksheet with the VBA Object Name shtTests : Let's assume that in Tool.xlsm I have a variable that contains a reference to the Workbook stored in Source.xlsx : Dim wkbSource as Workbook Set wkbSource = GetSourceWorkbook() ' Some function that gives a reference to the workbook Core Question: How can I reference shtTests within Tool.xlsm by using shtTests ' VBA Name ? Or to formulate the question as code... assume you