Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #8  
Old 08-10-2021, 12:56 AM
Guessed's Avatar
Guessed Guessed is offline Copy a selected range of a document to a new document with preserving formatting,header and footer Windows 10 Copy a selected range of a document to a new document with preserving formatting,header and footer 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

That chunk is pointing at a function/sub that we didn't get as part of the code. You can disable the line by placing a ' at the start of the line.

The functionality this line provides is most likely to copy the first page header/footer if required. It will actually be quite rare that you need that.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
 

Tags
vba, word 10, wordvba



Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy a selected range of a document to a new document with preserving formatting,header and footer Copy selected text from one document and paste to new document in same position on the page gasparik Word VBA 1 05-11-2020 05:41 AM
Locking Header/Footer on Document but still be able to edit body text (size, font, bold, etc) Porkie96 Word 1 06-21-2018 01:56 PM
Removing header and footer on two pages in my document oliboi Word 1 11-01-2016 05:27 PM
Copy a selected range of a document to a new document with preserving formatting,header and footer Name a Range in a Word Document and then copy that range to the end of the doc w button click DanNatCorning Word VBA 1 04-29-2016 10:47 PM
Copy a selected range of a document to a new document with preserving formatting,header and footer Trying to copy background formatting from one document to another holywhippet PowerPoint 2 01-29-2015 01:17 PM

Other Forums: Access Forums

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