Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-03-2012, 01:45 AM
mawallace mawallace is offline Importing paragraph from another Word document using VBA Windows 7 64bit Importing paragraph from another Word document using VBA Office 2010 32bit
Novice
Importing paragraph from another Word document using VBA
 
Join Date: Jun 2012
Posts: 6
mawallace is on a distinguished road
Default Importing paragraph from another Word document using VBA

I have created a userform in a Macro

If a user answers Yes I want to have a paragraph which is in another Word document imported into my Word document at a certain point.

I have played with VBA codes and got no where.



Could you help?
Reply With Quote
  #2  
Old 06-03-2012, 10:24 AM
mawallace mawallace is offline Importing paragraph from another Word document using VBA Windows 7 64bit Importing paragraph from another Word document using VBA Office 2010 32bit
Novice
Importing paragraph from another Word document using VBA
 
Join Date: Jun 2012
Posts: 6
mawallace is on a distinguished road
Default

I have been playing and using the .InsertFile(FileName, Range,) command will do the tirck - but I am trying to work out how to define the range bit now!!

If the start of this is marked with bookmark whicj is, say "bookmark one" and the end "bookmark two" how would this work

i.e insert text from file name xyz.doc from beginning of bookmaek one and to bookmark two!
Reply With Quote
  #3  
Old 06-05-2012, 05:32 AM
macropod's Avatar
macropod macropod is offline Importing paragraph from another Word document using VBA Windows 7 64bit Importing paragraph from another Word document using VBA Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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

Cross-posted at: http://answers.microsoft.com/en-us/o...a-bcbe4d9cb977
http://www.vbaexpress.com/forum/showthread.php?t=42392
For cross-posting etiquette, please read: http://www.excelguru.ca/content.php?184
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't delete paragraph mark at end of document kb Word 10 10-06-2017 02:32 PM
Importing paragraph from another Word document using VBA Advancing Paragraph Numbers in Merge Document Body Wyskers Mail Merge 1 11-30-2011 04:46 AM
Importing Selected Text Into Word Document Mooseman60 Word 1 10-06-2011 03:18 AM
paragraph sign appearing in document ajetrumpet Word 1 08-24-2010 05:46 AM
importing illustrator file through MS Word and pdf to Word longislandgrafix Word 1 12-04-2005 04:46 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:45 PM.


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