Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 03-27-2021, 11:59 PM
Cendrinne's Avatar
Cendrinne Cendrinne is offline Need Help to Script to align all the tables only as of a section to end of doc? Windows 10 Need Help to Script to align all the tables only as of a section to end of doc? Office 2019
Competent Performer
Need Help to Script to align all the tables only as of a section to end of doc?
 
Join Date: Aug 2019
Location: Montreal Quebec Canada
Posts: 200
Cendrinne is on a distinguished road
Red face AMAZING, IT WORKED AS IS :) Andrew

Quote:
Originally Posted by Guessed View Post
This point forward or this section forward are two different things. Both options are in this code.
Code:
    Set oRng = ActiveDocument.Range(Selection.Range.Sections(1).Range.Start,
Amazing as is. Smart!!!!

Since the section I wanted to apply your macro was in Section 9, I've modified your (1) for (9), it said '''The collection number doesn't existe''.

I was like ''What???''.

So since, I know, you know your stuff, I've tried your macro AS IS, and as usual, you were right!!!!

I bow to the Master Pro!!!!

My question to you is Why I had to use the 1 instead of the 9?

And THANK YOU SOOOOO MUCH.

Cendrinne
Reply With Quote
 

Tags
align tables in section, help please



Similar Threads
Thread Thread Starter Forum Replies Last Post
Something in header with text boxes won't let a section align vertically - sometimes ryannah05 Word 5 04-10-2020 09:48 AM
Need Help to Script to align all the tables only as of a section to end of doc? vba script to align text to the center olybobo Excel Programming 1 05-26-2016 01:09 AM
Script starts nesting tables without reason selman555 Word VBA 1 10-17-2014 01:01 AM
Need Help to Script to align all the tables only as of a section to end of doc? How to format and align multiple tables in a document in bulk? Joey Cheung Word Tables 1 08-08-2014 11:34 PM
Need Help to Script to align all the tables only as of a section to end of doc? How to right align section numbers in TOC? Dr Wu Word 1 01-03-2014 02:07 PM

Other Forums: Access Forums

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