Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-18-2019, 02:44 AM
dita dita is offline Macro for batch process Windows XP Macro for batch process Office 2010 64bit
Advanced Beginner
Macro for batch process
 
Join Date: Apr 2018
Posts: 34
dita is on a distinguished road
Default Macro for batch process

Hello everyone,


I have created a macro to change the font properties in a document but would like to run the same macro in all DOC files placed in a specific folder.


Is there any code to do that in a batch process?


If yes, which code should I use for that and where/how to include it in the macro below?


Note that Macro should work for .DOC formats although I also will be use it for .DOCX.


Many thanks!


Sub Macro1()
With ActiveDocument.Styles("Normal").Font
.NameFarEast = "Calibri"
End With
With ActiveDocument.Styles("Normal")
.AutomaticallyUpdate = False
.BaseStyle = ""


.NextParagraphStyle = "Normal"
End With
End Sub
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro for batch process Batch applying a macro to remove Header and Footer using Batch Auto Addin Edszx Word VBA 2 05-27-2019 11:16 PM
Batch re-naming twols26 Word VBA 7 06-16-2015 12:29 PM
Macro for batch process Process Automation saurabhlotankar Excel Programming 10 06-03-2015 05:50 PM
Macro for batch process Trying to create a macro to batch edit hyperlinks martinlest Excel Programming 5 01-09-2015 09:34 AM
Macro for batch process batch file romanticbiro Office 1 06-30-2014 06:04 PM

Other Forums: Access Forums

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