Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 11-10-2020, 06:11 PM
rekent rekent is offline Insert Comments from List for Whole Document and for Only Selected Portion of Document Windows 10 Insert Comments from List for Whole Document and for Only Selected Portion of Document Office 2016
Novice
Insert Comments from List for Whole Document and for Only Selected Portion of Document
 
Join Date: May 2014
Posts: 23
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
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Reveal portion of document based on dropdown selection chappeja Word VBA 1 03-27-2019 08:36 PM
Insert Comments from List for Whole Document and for Only Selected Portion of Document Renumber document at annex portion of document jeffreybrown Word 3 02-14-2019 05:53 AM
How do you add XML Schema Tags to Certain portion of a Word Document? Anishgirijan Word VBA 0 02-08-2017 10:38 PM
Insert Comments from List for Whole Document and for Only Selected Portion of Document How can I link a portion of a word document to another word document and have it auto update? __Data Word 1 06-30-2015 11:03 PM
Save as PDF only saves portion of document pandro Word 0 10-08-2014 06:54 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:27 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