View Single Post
 
Old 12-04-2024, 07:39 PM
macropod's Avatar
macropod macropod is offline Windows 10 Office 2016
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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

To do something like that would requires you to do something like having a content control in every cell that's to have the formatting, then use a content control exit macro to reformat the cell once its's exited. See attached demo. Pressing Alt-F11 will expose the macro.

With this approach, either the document must be saved in the docm format, or the macro has to be added to its template, which must then be saved in the dotm format.
Attached Files
File Type: docm Tbl Fmt Demo.docm (26.6 KB, 4 views)
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote