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

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -