Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Sub ProcessFiles()
Dim mFiles
mFiles = Dir("c:\test\*.doc")
Do While Dir <> ""
Documents.Open FileName:="c:\test\" & mFiles
' call the macro to action each file
Call TypeSomething
ActiveDocument.Close wdSaveChanges
mFiles = Dir
Loop
End Sub
' the routine to action on each file
Sub TypeSomething()
Selection.EndKey unit:=wdStory
Selection.TypeText Text:="something"
End Sub