Index of /archives/text/CTAN/support/xl2latex

Icon  Name                         Last modified      Size  Description
[PARENTDIR] Parent Directory - [TXT] xl2latex.bas 2001-08-15 16:08 11K [TXT] README.txt 2001-08-15 16:07 1.9K [TXT] LICENSE.txt 2001-08-15 16:07 15K
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


INSTALLATION
~~~~~~~~~~~~
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


USAGE
~~~~~
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.


LICENSE
~~~~~~~
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
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
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).