on 08-30-2010 11:09 AM
Hello experts:
I am working on the definition of some input schedules and I would need to run package from some buttons. I have found the command "MNU_DATA_RUNPACKAGE" but It opens the data manager but I need to run the package directly.
I am running from an excel button "refresh", "sending of data", etc... But, How can I find the command to execute and specific package? I would like to run the copy function, the distribution function, weihgt, trend, etc...
Thanks in advance for your help
Kind regards
Jose
Hi Jose,
Assign a macro to a button. Give some name to the macro. Lets say MyMacro.
Then edit the code of the macro:
Sub MyMacro()
Application.Run "MNU_eDATA_SELECTPACKAGE", "Allocate Budget", "My Files/Allocate Budget.dtsx", "Company", "Data Management"
End Sub
Where,
Allocate Budget = DM Name
My Files/Allocate Budget.dtsx = Path of the DTSX file
Company = Folder in which the DM has been saved
Data Management = Folder in which the DM has been saved
Hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Nailanjan.
But are there any direct macro created for the functions spread, weight, trend or to execute a package ( in the same way que there is an standard macro to send data)?
When I try to create the macro to run the "spread function", I can't stop the macro just after windows pop up and It is impossible to do exactly what I want to.
Kind regards
User | Count |
---|---|
14 | |
4 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.