unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Colin S. Miller" <no-spam-thank-you@csmiller.demon.co.uk>
To: help-gnu-emacs@gnu.org
Subject: Re: exporting from emacs to excel
Date: Wed, 14 Jan 2009 20:12:57 +0000	[thread overview]
Message-ID: <496e45d7$0$90275$14726298@news.sunsite.dk> (raw)
In-Reply-To: <a975dde3-d741-4a4f-84e1-4ef500779440@x16g2000prn.googlegroups.com>

rustom wrote:
> I want to write a bit of elisp to take a file/buffer in org-mode and
> export the tables to an excel sheet.
> 
> I know (very little) of how to write the code to make an excel sheet
> from wscript. eg
> giving wscript the following, opens a blank excel sheet:
> 
> Set objExcel = CreateObject("Excel.Application")
> objExcel.Workbooks.Add
> objExcel.Visible = True
> 
> Is there some easy/natural way to get this functionality inside elisp?
Rustom,

That is using DDE/OLE to control Excel. OLE (Object Linking and Embedding)
uses DDE (Dynamic Data Exchange) to send messages between the applications.

A very quick google reveled http://www.stat.uiowa.edu/~luke/xls/wxls/wxls/node12.html
You might want to use DDESpy (part of Visual Studio) to see what your VB app is sending to Excel.
However, that elisp module might not support enough of DDE to implement OLE.

HTH,
Colin S. Miller


-- 
Replace the obvious in my email address with the first three letters of the hostname to reply.


  parent reply	other threads:[~2009-01-14 20:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-14 11:13 exporting from emacs to excel rustom
2009-01-14 12:42 ` Paul R
2009-01-14 20:12 ` Colin S. Miller [this message]
2009-01-14 20:21 ` Xah Lee
2009-01-15  6:56   ` rustom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='496e45d7$0$90275$14726298@news.sunsite.dk' \
    --to=no-spam-thank-you@csmiller.demon.co.uk \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).