From mboxrd@z Thu Jan 1 00:00:00 1970 From: edgar@openmail.cc Subject: Re: org-table export to ods/xlsx etc Date: Sat, 17 Jun 2017 01:41:56 +0000 Message-ID: <5fc2e679e336956c9b19798aafb814b0@openmail.cc> References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42418) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMFTy-00038C-4F for emacs-orgmode@gnu.org; Sat, 17 Jun 2017 11:17:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dMFTt-0001rp-Pj for emacs-orgmode@gnu.org; Sat, 17 Jun 2017 11:17:50 -0400 Received: from onethreetwo.vfemail.net ([199.16.11.132]:61155 helo=vfemail.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dMFTt-0001rX-J9 for emacs-orgmode@gnu.org; Sat, 17 Jun 2017 11:17:45 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: oub@mat.ucm.es Cc: emacs-orgmode@gnu.org > Message: 19 > Date: Fri, 16 Jun 2017 10:25:55 +0000 > From: Uwe Brauer > To: emacs-orgmode@gnu.org > Subject: [O] org-table export to ods/xlsx etc > Message-ID: <87fuf0i5zg.fsf@mat.ucm.es> > Content-Type: text/plain > > I am sometimes in need to send my org-table spreadhseets to colleagues > who are using (sigh) excel. I thought sending csv would be enough but > it > turns out, I want to join you in that *deep* sigh! and thank you for your contribution. I may eventually have to use it. > (defun org-table-export-to-xlsx () > (interactive) > (let* ((source-file (file-name-sans-extension (buffer-file-name > (current-buffer)))) > (csv-file (concat source-file ".csv"))) > (org-table-export csv-file "orgtbl-to-csv") > (org-odt-convert csv-file "xlsx"))) ------------------------------------------------- ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands! $24.95 ONETIME Lifetime accounts with Privacy Features! 15GB disk! No bandwidth quotas! Commercial and Bulk Mail Options!