CTAN Comprehensive TeX Archive Network

Directory support/xl2latex

xl2latex: Excel table to LaTeX tabular converter

Works only with Excel97 (and hopefully above, you never know what Microsoft does)
For color, package "colortbl" is needed (put \usepackage{colortbl} in preamble)

Copyright (C) 2001 Ronny Buchmann <rbla@gmx.de>

Ideas taken from Excel-To-Latex by Joachim Marder

Import xl2latex.bas in Visual Basic and save as xl2latex.xls (or any other filename).

To do so: open a new file or a file with all your macros
          Extras->Macro->Visual Basic-Editor
          then in Visual Basic: File->File import
          close Visual Basic
          save the file (File->Save As or File->Save, what you want)
          close the file
          now you should have a new button "LaTeX export" in your "LaTeX" toolbar

Select the area you want to expert and press the "Export LaTeX" button, you will
be prompted for a file name.

For further notes look inside the macro.

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA
or visit http://www.gnu.org

One note to the license and distribution:
It is not forbidden to distribute xl2latex as an Excel file (.xls), but be 
aware that it is a danger to open foreign files with macros inside, they can
potentially contain viruses. And I will never distribute it in an other form
than plain basic (.bas).

Download the contents of this package in one zip archive (10.5k).

xl2latex – Convert Excel (97 and above) tables to tabulars

This Excel to converter exports the current selection as a file which can be included via \input in your actual document. It supports multicolumn cells (only horizontal), borders, font styles (bold, italic), colored cells and text, maths in cells and cells with wrapped text.

LicensesGNU General Public License
MaintainerRonny Buchmann
TopicsData import
Guest Book Sitemap Contact Contact Author