all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Xah Lee <xahlee@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: exporting from emacs to excel
Date: Wed, 14 Jan 2009 12:21:19 -0800 (PST)	[thread overview]
Message-ID: <6c041653-184b-411f-bb1f-ce5042f5f79a@s1g2000prg.googlegroups.com> (raw)
In-Reply-To: a975dde3-d741-4a4f-84e1-4ef500779440@x16g2000prn.googlegroups.com

On Jan 14, 3:13 am, rustom <rustompm...@gmail.com> 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?


dont know what's wscript.
Wikipedia says http://en.wikipedia.org/wiki/Windows_Script_File

but if all you want is export some text formatted as some table in
emacs to excell, that's really easy elisp.

i dont use org-mode, so i'm not sure what format is its table. But
basically, a table is just text with special markers to indicate row
and column beginnings.

in ascii format, typically a row is just a line, and column are
delimited by comma. Typically known as csv format
http://en.wikipedia.org/wiki/Comma-separated_values

all app or spreadsheet that deals with table data can import and
export this format.

if you can give a concrete example of what your source format is, then
perhaps me or others can show you the elisp code. It's probably just a
10 min job.

  Xah
∑ http://xahlee.org/

  parent reply	other threads:[~2009-01-14 20:21 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
2009-01-14 20:21 ` Xah Lee [this message]
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=6c041653-184b-411f-bb1f-ce5042f5f79a@s1g2000prg.googlegroups.com \
    --to=xahlee@gmail.com \
    --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.