Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 06-15-2018, 07:39 AM
Guessed's Avatar
Guessed Guessed is offline Select and Copy from Word to Excel Windows 10 Select and Copy from Word to Excel Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,185
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

It is if you are using the Heading styles for this. But if you don't provide a sample document formatted as per your documents then we are only guessing and likely to be wrong.

For instance, if this magic paragraph was the first heading in the document you could go to it with
Set rng = ActiveDocument.Range.GoTo(wdGoToHeading, wdGoToFirst)

You can examine the options for the GoTo command here https://msdn.microsoft.com/en-us/VBA...to-method-word to see if you can find the right combination to always hit your section.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
 

Tags
copy, select



Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel VBA - Select All in Word Doc & Update Fields RMerckling Excel Programming 1 04-27-2018 01:47 PM
Word 2007-cannot select or copy image calvin-c Word 2 01-05-2017 02:26 PM
Select and Copy from Word to Excel How to select and copy to clipboard an entire document except for a paragraph and keep formatting TD_123 Word VBA 7 06-16-2015 03:30 PM
Select Every Email in Word or Excel?!? arielrivera67 Excel 2 07-13-2014 09:54 PM
how to copy all ms word tables into excel rehan129 Word 0 01-28-2012 10:17 AM

Other Forums: Access Forums

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