From Hattrick
Jump to navigationJump to search
Picture 1: A nice league table


Tabletrick is an excel-addin built by BigBabou, based on an excel implementation by ukelele. The tool was tested in the federation 'Weetjewat' and was built with the help of Weetjewat. Tabletrick converts selected cells in an excel-worksheet to conference-code that can be pasted into your post on the Hattrick conferences. It is used to create nicely aligned tables with every kind of data you like. Pictures 1 and 2 show some examples of what Tabletrick can do.
It can be found here.

Picture 2: HT-links are also possible


  • Converts an Excel table to conference-code that creates the same table when pasted in the Hattrick forums
  • Detects cell alignment (left / center / right)
  • Detects cell font style (normal / bold / italic / bold+italic)
  • Detects vertical lines and distinguishes between solid and dotted or dashed lines
  • Supports Hattrick forum links

Installation Guide


Excel Add-In: here
Button Image: here


Picture 3: Add-in menu

Follow these steps:

  1. Download the files (the Button Image is optional)
  2. Save both files in the Add-In folder of Excel (see below how to locate it)
  3. Start Excel
  4. Choose Add-Ins... in the Tools menu
  5. Check the box next to TableTrick v1.x (see Picture 3)
  6. Press OK

The add-in is now installed and a new button is placed in the standard toolbar, near the cut/paste group. Also, an About TableTrick... item is placed in the Tools menu.

Locating the Excel Add-In folder

Unfortunately, the location of the Add-In folder is different for each Windows or Excel version. Some of the possible locations are:

  • Excel XP(2002) on Windows XP:
    C:\Documents and Settings\<UserName>\Application Data\Microsoft\AddIns
  • Excel 2000 on Windows 98:
    C:\Windows\Application Data\Microsoft\AddIns
  • Excel 97 on Windows 98:
    C:\Program Files\Microsoft Office\Office\Library
Picture 4: Add-in folder

If this does not work for you, then there is a little trick to determine the folder location:

  1. Open a new workbook in Excel.
  2. Choose Save As... in the File menu
  3. At Save as type: select Microsoft Excel Add-In (*.xla)
  4. The Save in: folder is now automatically changed to the Add-In folder
  5. Note the location (see Picture 4)

Note: Apparently the Application Data folder is hidden on most systems. In that case, turn on Show hidden folders under Folder Options... in the Tools menu of Windows Explorer to find the (hidden) Add-Ins folder.


Follow these steps:

  1. Choose Add-Ins... in the Tools menu
  2. Uncheck the box next to TableTrick v1.x
  3. Press OK

Usage Guide

  1. Select the part of the Excel worksheet you want to convert (see Picture 5)
  2. Press the TableTrick button (or a capital 'H' if you didn't download the button image)
  3. Go to Hattrick and paste (ctrl+v) the code in your forum post
  4. The result: see Picture 6.
Picture 5: Select a table in excel
Picture 6: Result after pasting the code in Hattrick

See Also

External links

  • HatTables - An Excel add-on similar to the original TableTrick but which makes use of [table] tags