View Single Post
 
Old 11-10-2020, 06:11 PM
rekent rekent is offline Windows 10 Office 2016
Novice
 
Join Date: May 2014
Posts: 22
rekent is on a distinguished road
Default

Quote:
Originally Posted by Guessed View Post
Yes it is possible but it is always going to be slightly dodgy because we don't have exposure to your actual documents so we have to make a guess on what pattern is most robust to identify your 'List' area.
For these particular documents I can always guarantee that the list will fall between the two enumerated headings. It is an express requirement for the documents.


Quote:
Originally Posted by Guessed View Post
Change this line:
Set aRng = docCurrent.Bookmarks("ListArea").Range

to:
Set aRng = GetListRange(docCurrent)

and add this function to the module
This is just to make the main loop a bit cleaner and easier to follow, correct?
Reply With Quote