all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

* 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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.