Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #13  
Old 10-13-2020, 10:15 PM
macropod's Avatar
macropod macropod is offline Import a section from one file into another Windows 10 Import a section from one file into another Office 2010
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by Guessed View Post
The styles in the two documents are NOT the same. Normal for instance is Arial in one doc and Nirmala in the other. You then have local formatting applied over the top of paragraph styles so that under the first heading you have three different fonts applied to the first three paragraphs.

You are wasting your time trying to achieve consistency when copy / pasting if your documents are full of inconsistencies in the first place.
Content replication via VBA's FormattedText method - which is what the macro in the link I posted uses - is generally sufficient to cope with such anomalies.

For manual copying/pasting, setting Word's copy/paste options to keep the source formatting for both pasting between documents and for Style conflicts should achieve the same outcome.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Import Data From One File To Another honkin Excel 1 07-27-2019 01:44 AM
How to import a section into Onenote app Ashanti Fraser OneNote 0 01-19-2017 05:40 PM
Import a section from one file into another Import a specific range (bookmarked section) from all Word docs in a selected folder Greengecko Word VBA 5 06-14-2016 07:54 AM
Import a section from one file into another Execute VBA on File Import npalmer610 Word VBA 1 04-12-2016 06:01 PM
Import a section from one file into another OST file import duanne14 Outlook 3 03-13-2011 07:48 AM

Other Forums: Access Forums

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