Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-18-2022, 12:59 AM
Cendrinne's Avatar
Cendrinne Cendrinne is offline Help with script - Collapse Tables as of a point till the end of doc Windows 10 Help with script - Collapse Tables as of a point till the end of doc Office 2019
Competent Performer
Help with script - Collapse Tables as of a point till the end of doc
 
Join Date: Aug 2019
Location: Montreal Quebec Canada
Posts: 200
Cendrinne is on a distinguished road
Question Help with script - Collapse Tables as of a point till the end of doc

Hello Pros,


I've been searching and trying, can't seem to find a good solution.

At times, I've already worked on 20 pages in a big document. There comes a point, you try to find a solution to speed up the tasks. So at times, I do find a given script to help me do the rest the 60 pages. I don't want to start over what I've done on the first 20 pages.

I'm not sure if it's colapse I need, and I've even tried:

Code:
  Set oRng = ActiveDocument.Range(Selection.Range.Start, ActiveDocument.Range.End)

Selection.Collapse Direction:=wdCollapseStart
Nope, it still touches all the tables earlier in my document. Thank god I've tested it first on a small amount of tables in a new document. I had 6 tables to test, I've selected the last 3 tables, and it touched all 6 tables.

Is there a way, to say: "This point forward''?

Any insights, please let me know.

Cendrinne
Reply With Quote
 

Tags
collapse, help please



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help please, Script to Delete Paragraph marks b4 Tables Cendrinne Word VBA 4 02-08-2022 06:54 PM
Help with a script to find Duplicate data in the same row of a table or tables Cendrinne Word VBA 9 09-07-2021 07:54 PM
Need Help to Script to align all the tables only as of a section to end of doc? Cendrinne Word VBA 4 04-05-2021 11:37 AM
Printing Word-Tables as PDFs without making the borders 1 point Tobinobi Word Tables 3 12-12-2017 10:29 AM
Script starts nesting tables without reason selman555 Word VBA 1 10-17-2014 01:01 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:38 AM.


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