Sub TableGridDesignMacro()
For Each Table In ActiveDocument.Tables
Table.Style = "Table Grid"
Table.PreferredWidthType = wdPreferredWidthPoints
Table.PreferredWidth = InchesToPoints(6.67)
Next
End Sub
Saturday, May 30, 2026
VBA Word - Customize Table Width in Microsoft Word
Use the following VBA code to set width of each table in your Microsoft Word document:
Subscribe to:
Post Comments (Atom)
Hot Topics
-
In previous post , we learnt basic introduction to SQL Server . In this post we will learn about SSMS (SQL Server Management Studio) softwar...
-
In the previous post we have learnt about SSMS (SQL Server Management Studio) and how to connect with a SQL Server instance. In this post w...
-
By Ajeet Kumar RADAR CHART In radar chart, the categorical variable is displayed as spikes radiating from a central point. The values o...
No comments:
Post a Comment