Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 03-17-2024, 01:54 AM
vivka vivka is offline Height of all rows of all tables set as "at least". Windows 7 64bit Height of all rows of all tables set as "at least". Office 2016
Expert
 
Join Date: Jul 2023
Posts: 305
vivka is on a distinguished road
Default

Hi, Woocash_11! Try this:

Code:
Sub Tbls_Format_1()
'Format all tables in active doc.

Dim oTbl As word.Table
    For Each oTbl In ActiveDocument.Tables
        oTbl.rows.HeightRule = wdRowHeightAtLeast   
    Next oTbl
End Sub
Reply With Quote
 

Tags
height, table rows, vba



Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2003: VBA "Function" causes "#VALUE!" errors after running "insert/delete row" custom macro Matt C Excel Programming 2 01-08-2022 06:03 AM
Height of all rows of all tables set as "at least". Help get rid of weird default "lines" or "table" look in document that has no tables or lines Tsavard Word 2 06-11-2018 09:08 AM
Height of all rows of all tables set as "at least". Macro to delete all rows with the word "Total" RandWald Excel Programming 4 11-28-2016 07:50 PM
Height of all rows of all tables set as "at least". Word Macro to find and delete rows that contain adjacent cells containing "." AlexanderJohnWilley Word VBA 7 11-08-2012 10:15 AM
Height of all rows of all tables set as "at least". How to choose a "List" for certain "Heading" from "Modify" tool? Jamal NUMAN Word 2 07-03-2011 03:11 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:03 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft