Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-04-2025, 02:40 AM
macropod's Avatar
macropod macropod is offline Table formatting issue: Windows 10 Table formatting issue: Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,379
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default


Well, you did say the document has multiple tables and you only supplied one example and you gave no indication that other tables might be formatted differently or that you didn't want the macro to process all of them. So that's all I had to code for.

If you want the code to only run on the selected table(s), simply change 'ActiveDocument' to 'Selection'.

Given that you seem to have a variety of tables with different structures, you'll probably need a differernt macro for each structure.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Tags
table borders



Similar Threads
Thread Thread Starter Forum Replies Last Post
Table formatting issue: Table Formatting Issue tomohawk Excel 2 02-03-2023 08:24 AM
Table formatting issue: Irritating formatting issue in Table of Contents - page number "dots" disappear Eriks Word 9 04-19-2019 06:18 PM
Table formatting issue: Table style - first, last and odd column formatting issue BartS Word Tables 2 08-16-2016 04:10 AM
TOC Formatting Issue Caroline Word 1 03-15-2011 01:59 PM
TOC Formatting Issue Angstromm Word 0 09-22-2010 11:49 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:43 PM.


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