Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-17-2018, 12:01 PM
texMan texMan is offline InsertFile() with literature reference Windows 10 InsertFile() with literature reference Office 2016
Novice
InsertFile() with literature reference
 
Join Date: Nov 2017
Posts: 12
texMan is on a distinguished road
Default InsertFile() with literature reference

Hello,



I have a problem with Word and the VBA Method InsertFile() and literature references.

When I insert a Word document with a link of literature references into an open document, the source references are lost.

For example: Selection.InsertFile (cDoc1.docx)

When I paste the references with Copy and Paste you will get it.

Any solution?

Best regards
Jürgen
Reply With Quote
  #2  
Old 04-17-2018, 03:23 PM
macropod's Avatar
macropod macropod is offline InsertFile() with literature reference Windows 7 64bit InsertFile() with literature reference Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
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

Solution: use copy/paste or the FormattedText method. Neither of these will add references that have not been cited in the source document or displayed in it's bibliography, however.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 04-18-2018, 12:57 AM
texMan texMan is offline InsertFile() with literature reference Windows 10 InsertFile() with literature reference Office 2016
Novice
InsertFile() with literature reference
 
Join Date: Nov 2017
Posts: 12
texMan is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
Solution: use copy/paste or the FormattedText method. Neither of these will add references that have not been cited in the source document or displayed in it's bibliography, however.
Is this a bug in Word, that InsertFile() with literature reference loose the source references?

Copy and Paste is no alternative, because the document should not not be opened.
Reply With Quote
  #4  
Old 04-18-2018, 02:18 AM
macropod's Avatar
macropod macropod is offline InsertFile() with literature reference Windows 7 64bit InsertFile() with literature reference Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
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

No, it's not a bug. It's just that different methods do different things.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
InsertFile() with literature reference MS 2010 Literature PetrK Word 3 04-25-2017 05:16 AM
InsertFile() with literature reference Indirect Reference? tinfanide Excel 2 08-28-2015 05:11 PM
InsertFile() with literature reference Reference number and cross reference for equation numbers to match the thesis format wmac Word 1 05-14-2013 08:54 PM
InsertFile() with literature reference range.insertfile produces diff result between word 2010 and 2007 rsmedley Word 1 02-15-2012 10:48 PM
InsertFile() with literature reference Header/Footer lost with InsertFile cksm4 Word VBA 2 03-07-2011 06:09 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:38 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft