From: mjlaali on 8 Apr 2010 03:12 Hi, I want to change some properties of all the tables in a document, but I don't know how to get writable objects of tables from the document.
From: Jay Freedman on 8 Apr 2010 11:57 mjlaali wrote: > Hi, > > I want to change some properties of all the tables in a document, but > I don't know how to get writable objects of tables from the document. Dim myTable As Table For Each myTable In ActiveDocument.Tables ' do something with myTable, for instance: myTable.Columns(1).Width = InchesToPoints(1.5) Next -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit.
|
Pages: 1 Prev: Autotext entries in .dotm templates Next: cursor doesn't appear |