Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 03-02-2020, 02:49 PM
macropod's Avatar
macropod macropod is offline Batch Editing Word documents Windows 7 64bit Batch Editing Word documents Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,526
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

As I don't use a Mac, I can't provide any guidance on how to make your code work in that environment. Simply deleting 'On Error Resume Next' isn't going to help. I'd be inclined to insert:
On Error Goto 0
after:
Documents.Close SaveChanges:=wdPromptToSaveChanges
That might help identify where any relevant errors are occurring.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Batch Editing Word documents Batch applying a macro to remove Header and Footer using Batch Auto Addin Edszx Word VBA 2 05-27-2019 11:16 PM
Editing Word documents through VBA in SharePoint algecan Word VBA 0 09-26-2018 05:23 AM
batch extract all tables in multiple word documents ZaidaBa Word Tables 3 05-08-2017 10:22 PM
Emailed documents locked for editing by someone else jibbs Office 1 09-30-2015 05:12 AM
Batch Editing Word documents Batch create Word documents cdfj Word VBA 6 11-07-2012 01:03 PM

Other Forums: Access Forums

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