Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.application.errors,microsoft.public.word.docmanagement,microsoft.public.word.formatting.longdocs,microsoft.public.word.tables
|
|||
|
|||
Word 2003 table indentation problem
Hi andy,
Don't know why this happened, but you can use this macro to get your tables aligned to the left margin again: Sub TablesToLeft() Dim aTable As Table For Each aTable In ActiveDocument.Tables With aTable.Rows .HorizontalPosition = 0 .RelativeHorizontalPosition = wdRelativeHorizontalPositionMargin End With Next aTable End Sub Record any macro, say record clicking the B-button on the Standard toolbar, and be sure to choose the document under 'Store macro in'. Choose Tools | Macro Macro's..., select your macro and choose Edit. The VBA-editor opens. Replace the entire current macro by the one above. Click the Save button in the VBA editor to save the document. Close the VBA editor. In Word, choose Tools | Macro Macros... Select TablesToLeft and click Run. If there are any tables left that are not positioned correctly, then drag them a little to the left or right and run the macro again. Good luck, Cooz -- PS: If this is a satisfying answer to your question and you're logged in via the Microsoft site, please click Yes to "Did this post answer the question?". Thanks. "andy k" wrote: I'm running Word 2003 (without any service packs) on a Windows XP Pro SP2 system. My document is currently 97 pages long, with a number of tables on certain pages. My problem is, that for no reason whatsoever, Word decided to change the left indentation of all the tables in my document so that all of them are 0.85cm indented. I can solve the problem by highlighting the table and selecting FormatParagraph and changing the "Left" box under the heading Indentation back to 0. However, this is very long winded due to the size of my document and the amount of tables I have in it. Does anyone know why this has happened? Also, how can I get it to revert back to normal indentation as I originally formatted it, without selecting each table individually? Thanks in advance. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Word should catalog misspelled words to study. | Microsoft Word Help | |||
take yet another lesson from wordperfect "reveal codes" | Microsoft Word Help | |||
Word 2003 table indentation problem | Microsoft Word Help | |||
Incompatibility Between Word 2002 and 2003 Table Viewability | Tables | |||
Table Incompatibility Between Word 2002 and Word 2003 | Microsoft Word Help |