1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
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).
|