+ Reply to Thread
Results 1 to 3 of 3

DDE Functions to open, save, rename, add sheets, etc.

  1. #1
    Registered User
    Join Date
    03-10-2008
    Posts
    3

    DDE Functions to open, save, rename, add sheets, etc.

    I'm new here, but not to programming. But... I've not spent much time creating Excel files in programs I've written. I've inherited a program that reads a few excel sheets and creates a new excel file. This works fine. I need to add the functionality to rename this file, as well as open an existing file and add data to different worksheets.

    I've looked through Microsoft's documentation, I can't find the functions I need. I can't even find the ones that I'm using. I'm sending commands through a dynamic data exchange (DDE) and maybe I'm just not looking in the right place.

    Some of the commands I'm using now:

    sprintf(excel_buff, "[NEW()]");

    sprintf(excel_buff, "[SELECT(\"R%dC%d\")]", 1, 2);

    sprintf(excel_buff, "[FORMULA(\"J1\")]");

    I can't find any info on these, or what I want to do; change sheets, rename sheets, and save to a different filename.

  2. #2
    Registered User
    Join Date
    03-10-2008
    Posts
    3
    I found one so far. I searched the web far and wide to find:

    SAVE.AS()

    Nobody has interfaced to Excel thru DDE before?

  3. #3
    Registered User
    Join Date
    03-10-2008
    Posts
    3
    And

    WORKBOOK.SELECT()

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1