Hi ScriptMan,
if you add an Excel-File to your SAP-Favorites you can start this file by clicking on your added favorite. You can add an Excel-File which is saved on shared drive and contains a code which starts by opening the file. This can do everybody in my department.
But I'm not able to start this file by using VBS, because by recording I get this code:
session.findById("wnd[0]/usr/cntlIMAGE_CONTAINER/_
shellcont/shell/shellcont[0]/shell").selectedNode = "F00009"
If a colleague would record the same procedure, he would get a differnt code:
session.findById("wnd[0]/usr/cntlIMAGE_CONTAINER/_ shellcont/shell/shellcont[0]/shell").selectedNode = "F00048"
It's because SAP manages the favorites by numbers.
What's the way by creating a pushbutton? How do you define the Excel-File to the button? Maybe I can work this way.
Best regards,
Lutz