Quantcast
Channel: SCN : All Content - Scripting Languages
Viewing all articles
Browse latest Browse all 522

Execute an Excel-file via SAP VBS

$
0
0

I am starting usind VBS with SAP. I have some experience with VBA for Excel.

So I have written a Excel-Makro which I can run via a URL-Link in SAP. This works perfect for me, but how can I get it run for my colleagues?

 

The problem is, that that VBS-Code works with a special favorite-ID:

session.findById("wnd[0]/usr/cntlIMAGE_CONTAINER/shellcont/shell/shellcont[0]/shell").selectedNode = "F00009"

But this ID varies depending on the colleagues.

 

How can I run this Excel-Makro without using a favorite?

 

Thanx for the help,

Lutz


Viewing all articles
Browse latest Browse all 522

Latest Images

Trending Articles



Latest Images