R
Rashid Khan
Hello All,
I am having a document with several hundred tables and I wish to set the
'Distribute Rows Evenly' for each and every table. I recorded a macro and
tried to modify it as follows but I failed. Can anyone help me out!
Dim oTbl As Word.Tables
For Each oTbl In ActiveDocument.Tables
Selection.Cells.DistributeHeight <it gives error here>
Next
End Sub
What am I doing wrong? Basically I always need to run a macro on several
hundred tables to do different things. So a standard macro would also help
me out.
TIA
Rashid Khan
I am having a document with several hundred tables and I wish to set the
'Distribute Rows Evenly' for each and every table. I recorded a macro and
tried to modify it as follows but I failed. Can anyone help me out!
Dim oTbl As Word.Tables
For Each oTbl In ActiveDocument.Tables
Selection.Cells.DistributeHeight <it gives error here>
Next
End Sub
What am I doing wrong? Basically I always need to run a macro on several
hundred tables to do different things. So a standard macro would also help
me out.
TIA
Rashid Khan