Alt+F11 takes one from an Office application to the Visual Basic Editor. Ctrl-G. F2. call subName, it causes the »compile error« Expected variable or procedure, not module. call equalName.equalName application.goto … by giving it the name of the sub or procedure. application.goto "nameOfSub", scroll = true
application.commandBars.executeMso "VisualBasic"
AutoOpen rather than auto_open is needed). (2019-09-11: I was just informed that these two events are obsolete). sub auto_open() application.vbe.mainWindow.visible = true end sub
FindWindow or FindWindowEx is wndclass_desked_gsk.