If you need a complete, step-by-step guide to using the tablestyle shortcut in AutoCAD, this article explains what the command is, how to create and apply table styles, why the shortcut might fail, alternative methods, troubleshooting, and useful tips for managing table styles in your drawings.
What is the tablestyle shortcut?
The AutoCAD tablestyle command (command name: TABLESTYLE, alias TS) opens the Table style Manager, where you can create, modify, and apply table styles. A table style defines the visual and formatting rules for tables in a drawing: text styles, row and column behavior, borders, shading, header and title formatting, and cell styles.
The command has two forms:
- TABLESTYLE (opens the graphical dialog)
- -TABLESTYLE (command-line version, runs without the dialog, useful for scripting)
Why use table styles?
- Ensure consistent table appearance across a project or office standard.
- Quickly apply a uniform look to titles, headers, and data cells.
- Save time by reusing saved styles instead of formatting each table manually.
- Keep tables scalable and annotative when using annotative text styles.
How to use TABLESTYLE — Step by step (GUI)
Open the Table Style Manager:
- Type TABLESTYLE or TS in the command line and press Enter.
- Or use the ribbon: Annotate tab → Tables panel → Table Styles.
Create a new style:
- In the Table Style Manager, click New….
- Enter a name for the style and choose to start from an existing style (recommended).
- Click OK to create it.
Configure general table settings:
- Set title rows and header rows/columns (how many rows/columns are treated as headers).
- Set annotative behavior if needed (use annotative text styles if you want automatic scale).
- Adjust cell margins, default row height, and default column width.
Define cell styles:
- Use the Cell Styles section to create or edit styles for Title, Header, and Data cells.
- For each cell style set: Text style and height, justification, borders (lineweight, color, linetype), and background fill (shade/hatch color).
- Save each cell style with a descriptive name (e.g., Header_Bold, Data_RightAligned).
Set border and grid line appearance:
- Choose which gridlines are visible (outer, inner), set lineweight, color, and linetype.
- Optionally set different border styles for header vs data areas.
Adjust columns and cells:
- Set default column width and allow column auto-width behavior or fixed widths.
- Configure number/date/units formatting for cells if your tables will contain numeric data.
Save the style and apply:
- Click Apply / Close.
- When inserting a new table (use TABLE command), select your table style from the Insert Table dialog.
- To apply to an existing table, select the table and change its Table Style in the Properties palette or use the contextual Table ribbon tab.
Example (before/after):
- Before: Default style — thin gridlines, small text, no header shading.
- After: Custom style — bold shaded header row, thicker outer border, right-aligned numeric cells, larger text using office text style.
How to use -TABLESTYLE (command-line) — Step by step
- Type -TABLESTYLE and press Enter.
- Follow the command-line prompts to:
- Create a new style name
- Set style to current
- Modify cell margins, row/column defaults, etc.
- Use the command-line mode if the GUI dialog is not available, for scripting, or to automate style creation in scripts.
Applying a table style to existing tables
- Select a table → open the Properties palette → find Table Style dropdown → choose the new style.
- Or: select the table → use the Table contextual ribbon tab → choose a style from the Table Style list.
- If formatting doesn’t update as expected, use Match Properties (MATCHPROP) to transfer visual properties or manually edit cell styles within the table.
Alternatives and related commands
- TABLE — Create a new table and choose a style during insertion.
- -TABLESTYLE — Command-line version for scriptable workflows.
- MATCHPROP (MA) — Copy visual properties from one table to another.
- ADCENTER (DesignCenter) — Import table styles from another drawing: open DesignCenter, browse to a drawing, drag table style to current drawing.
- Templates (.dwt) — Store table styles in a drawing template so every New drawing starts with your standards.
- CUI — Edit aliases if the TS alias is missing or changed.
- LISP / Script — Programmatically create and apply table styles for batch processing.
Common problems and fixes (Why TABLESTYLE sometimes doesn’t work)
Problem: Typing TS does nothing or command not found
- Fix: Type the full command TABLESTYLE. If still not found, the alias TS may be removed in the customization (CUI). Open CUI and reassign the alias, or use the full command name.
Problem: Table Style Manager dialog doesn’t appear (or opens off-screen)
- Fix: The dialog may be off-screen (common after changing monitors). Use Alt+Space → Move, or press Windows key + left/right to snap the window. Reset workspace or reset AutoCAD to default if needed.
Problem: Unable to edit styles (options greyed out)
- Fix: Check if the drawing is read-only or if you lack file permissions. Save a copy locally and try again, or run AutoCAD as administrator if permission issues persist.
Problem: Changes to a table style do not update existing tables
- Fix: Table styles normally update existing tables. If they don’t:
- Ensure the table is not using overridden cell properties (manual overrides can block style updates).
- Use Match Properties or reapply the style via the Properties palette.
- If necessary, recreate the table using the new style or remove overrides from the cells.
Problem: Dialog-based commands blocked or malfunctioning
- Fix: Corrupted user profile or workspace. Reset AutoCAD to default settings via the application menu: Reset Settings To Default. Back up your custom files first.
Problem: Styles not available across drawings
- Fix: Use DesignCenter (ADCENTER) or copy styles into a template (.dwt). Save your preferred table styles in your company template so every new drawing inherits them.
Tips and best practices
- Name styles clearly (e.g., COMPANY_Header_Shaded) so they are easy to pick from the list.
- Keep text styles and table styles coordinated — use a consistent text style for table headers and body.
- Store table styles in a master template (.dwt) to enforce standards.
- Use cell styles to apply color and border differences between header and data cells rather than manual formatting.
- When working with multiple scales, use annotative text styles in your table cell styles so text scales automatically with viewport scale.
- Avoid excessive manual overrides in tables; rely on the table style to maintain consistency.
- Use DesignCenter to transfer table styles or create a drawing with all standard styles and import from it.
FAQ — What is the TABLESTYLE (TS) command used for in AutoCAD?
The TABLESTYLE command opens the Table Style Manager to create, edit and apply table styles that control table appearance (text, borders, cell styles, header/title rows, margins). The alias TS often runs the same command.
FAQ — How do I apply a table style to an existing table?
Select the table, open the Properties palette, change the Table Style dropdown to the desired style. You can also use the Table contextual ribbon to choose a style.
FAQ — My TABLESTYLE dialog is missing or off-screen. How do I get it back?
Try Alt+Tab to find it, then Alt+Space → Move and use arrow keys to bring it into view. Reset the workspace or AutoCAD settings if it remains hidden.
FAQ — Why don’t my changes to a table style affect an existing table?
Existing tables may have manual overrides. Remove overrides (select cells → right-click → Table Cell Style → Reset to cell style) or reapply the style via Properties. If necessary, recreate the table from the updated style.
FAQ — How can I share table styles across drawings and with colleagues?
Place the styles in a template (.dwt) or use DesignCenter (ADCENTER) to import styles from a source drawing. You can also create a standard drawing file that contains all office styles and distribute it.
FAQ — Is there a command-line way to create table styles?
Yes: use -TABLESTYLE to run a text-based, prompt-driven version of the Table Style Manager suitable for scripts.
FAQ — TS alias doesn’t work. What now?
Type the full command TABLESTYLE. If the alias is broken, open CUI to restore it or use full command names. Use the ribbon path as an alternative.
