![]() |
#2
|
||||
|
||||
![]()
It sounds like the issue is not necessarily with your macro. If the macro finishes and the table is formatted the way you wanted it - and it persists while the document is open then it sounds OK.
If the problem then appears only after Close/Open then you may have other macros that are running which 'standardise' the tables. Can you have a look at your templates and verify that there aren't automacros which might be causing your table local formatting to change? I would also question what you mean by losing the heading format. Your macro is applying a table .Rows.HeadingFormat as well as local font.bold and paragraphformat.alignment settings. Are all three of these settings disappearing? Would applying a paragraph style persist better for the last two?
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
Tags |
table headers, table macro condition, word vba macro |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Issue with logo proportions after insertion in header | hank1234 | Word VBA | 8 | 10-31-2023 10:54 PM |
[Word 97] Different First Page Header Issue | dw85745 | Word | 2 | 04-01-2023 11:56 AM |
header format issue | mfitness92 | Word | 3 | 07-31-2022 01:03 AM |
Word Macro to delete table row and table header | NorthSuffolk | Word VBA | 6 | 10-11-2016 05:04 AM |
Macro to add title in header is missing text once macro is run | shawnee24 | Excel Programming | 1 | 05-27-2015 11:50 PM |