Jump to content

Need some help with DDE script function


Pat_Rick

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

Recommended Posts

  • 1 month later...
  • Newbies

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.

Link to comment
Share on other sites

This topic is 7065 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.