Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #8  
Old 12-17-2021, 10:26 PM
gmayor's Avatar
gmayor gmayor is offline Move table using VBA Windows 10 Move table using VBA Office 2019
Expert
 
Join Date: Aug 2014
Posts: 4,144
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

The link works from here. Try accessing the page from my web site.
To put the table after the heading, as in the template attached to my previous post, change the line
Code:
 Set oRng = ActiveDocument.Range(0, 0)
which set the range at the top of the document to
Code:
Set oRng = oDoc.Paragraphs(2).Range
    oRng.Collapse 0
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Move table using VBA Move entire rows from one table to another table Marcia Excel Programming 4 11-16-2021 05:24 PM
Change default move row behavior to "shift-move" JoshM Excel 2 10-05-2018 05:06 AM
Move table using VBA Move Selection to the next Column on a Page (Not a table) GuitarForLife Word VBA 7 02-09-2018 01:59 PM
Move table using VBA Move table cell contents from one table to another table or cell in same table donaldadams1951 Word VBA 4 02-04-2015 03:54 PM
Move table using VBA Move existing table captions bcarlier Word Tables 17 05-10-2014 02:36 PM

Other Forums: Access Forums

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