Macro for changing all files in directory

D

Drew

I have about 60 excel files that I need to change, all of the files are a
directory. The change that needs to be made is making each workbook shared
and changing some of the tracking changes settings. How can I make a macro
to take a path and open all excel files (one at a time), make the changes,
then save and close the file?

Thanks,
Drew
 
D

Drew

Here are the changes that need to be made,

With ActiveWorkbook
.AutoUpdateFrequency = 5
.AutoUpdateSaveChanges = True
.KeepChangeHistory = True
.ChangeHistoryDuration = 60
End With
ActiveWorkbook.ProtectSharing

Thanks,
Drew
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top