Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 07-26-2011, 12:04 AM
macropod's Avatar
macropod macropod is offline VBA to open files in Word Windows 7 64bit VBA to open files in Word Office 2010 32bit
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

Hi Lu Argentina,

Looping through a set of files, opeing & closing them is reasonably straightforward. See the code I posted here: https://www.msofficeforums.com/vba/8...documents.html
However, your code suggests you're not copying the whole document and it gives no indication of where in 'Documento2' the copied material is to be inserted. You need to clarify those issues.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Files don't open correctly jcgtc Office 0 05-09-2010 05:56 AM
cant open .htm files from inbox jamesukm Outlook 0 02-01-2010 05:27 AM
saving all open files reverter Word 5 01-28-2010 03:02 PM
unable to open *.tif files HARIS Misc 1 12-01-2009 05:47 AM
Can't open .pst legacy files RetiredEngineer Outlook 1 11-14-2009 01:06 PM

Other Forums: Access Forums

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