View Single Post
 
Old 09-02-2018, 06:44 AM
jeffreybrown jeffreybrown is offline Windows Vista Office 2007
Expert
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

Hi Paul and thanks,

Indeed, stepping thru the code was very interesting. So, as I understand the code, you are counting the number of cells and making the table split before the last row then using that format to format the title of the table.

In my document, these tables are in-between two specific words like shown below. Can the macro start with the word Attachment 3 and end with either Attachment 4 or if no Attachment 4, then simply the end of the document? 9 times out of 10 there will be an Attachment 4, but just in case, the end of the document would be the final.

Attachment 3

Table 1

Table 2

Table 3

etc.

Attachment 4
Reply With Quote