View Single Post
  #3   Report Post  
Posted to microsoft.public.word.tables
clara clara is offline
external usenet poster
 
Posts: 13
Default Align multiple tables and pics

Hi Stefan,

Thank you very much. Your method works very well. On my document, there are
also many pictures which I pasted from Microsoft Paint application.And also I
need to align these pictures with tables on left side. I tried to find
whether there is a collection called pictures in ActiveDocument, but I
failed. Could you help me again.

Clara
--
thank you so much for your help


"Stefan Blom" wrote:

Try this macro on a copy of the document:

Sub AlignAllTablesLeft()
Dim t As Table
For Each t In ActiveDocument.Tables
t.Rows.Alignment = wdAlignRowLeft
t.Rows.LeftIndent = 0
Next t
End Sub

If you need assistance, see
http://www.gmayor.com/installing_macro.htm.

--
Stefan Blom
Microsoft Word MVP


"clara" wrote in message
...
Hi all,

There are many tables ( each followed by a picture ). Is there any
way to make all these to be left aligned.

Clara
--
thank you so much for your help