Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Need some help with DDE script function


This topic is 7282 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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!!!!! smirk.gif

Thanx in advance for your input and help.

Pat.

  • 1 month later...
  • Newbies
Posted

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.

This topic is 7282 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.