Two way to address an excel worksheet but index numbers are different -
i'm using excel 2016 vba worksheet entitled sheet40 (testrandomteams). both following 2 lines of code point same worksheet, don't understand why?
application.goto activeworkbook.worksheets(45).cells(6, 5) worksheets(40).activate
there 1 workbook open.
Comments
Post a Comment