Pat_Rick Posted October 29, 2004 Posted October 29, 2004 Hi everyone!! Could someone show me how to use the DDE script function to call a DTS package(SQL server). Or to call an excel spread sheet. Can it be done!! Thanx in advance for your input and help. Pat.
Newbies fm7user Posted December 15, 2004 Newbies Posted December 15, 2004 If you just want to open excel then use Open URL ("pathnamefilename"). If you want to call DTS then write your DTS script in a batch file, then have Open URL call it. Your batch file may look like this: "C:Program FilesMicrosoft SQL Server80ToolsBinndtsrun.exe" /N<MYDTS> If you want to call an excel function using DDE Excecute: Service Name: Text, Excel Topic: Text, System Commands: Text, [run("myexcel.xls!mymodule.myfunction")] **oops this is in version 55/6 but it should work with 7.
Recommended Posts
This topic is 7652 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now