Dim fd As FileDialog
Dim strFolder As String
Dim strDoc As String
Dim DoctoConvert As Document
Set fd = Application.FileDialog(msoFileDialogFolderPicker)
With fd
.Title = "Select the folder into which the documents will be saved."
If .Show = -1 Then
strFolder = .SelectedItems(1) & "\"
Else
MsgBox "The documents will be saved in the default document file location."
strFolder = ""
End If
End With
strDoc = Dir$(strFolder & "*.doc")
Do While strDoc <> ""
Set DoctoConvert = Documents.Open(strFolder & strDoc)
With DoctoConvert
.SaveAs strFolder & "Processed\ & strDoc & "x", wdFormatDocumentDefault
.Close
End With
strDoc = Dir
Loop
[\code]