Hi,
I have a bit of experience writing macros for excel, but this is my first time trying to write one for microsoft word, so I thought I'd ask for some help.
I want to write a macro which loops through all cells in all tables in a document. I want the macro to identify if the text in the table cell is left, center or right aligned. If the text is left or center aligned, I don't want the macro to do anything at all, but if it is right aligned I want the macro to identify the width of the specific cell and left indent the text in the cell with 1/3 of its total width.
This seems quite straightforward and I would have no problem at all writing this macro in excel in five minutes, however, the objects in word is making me utterly confused. I'm not even sure if you can check the alignment of text in a cell as the alignment is a paragraph property?
Cheers,
Bookmarks