Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Steve's solution (copy/pasted below) worked great ... however, (question 1) I
seem to be getting some duplicate pages. I have 125 individual Word documents in which the filename starts with 1, 2, 3, etc.. (question 2)Is there a way to have the files appended in filename order so that the pages appear in sequence? Sub Foo() Dim i As Long Application.ScreenUpdating = False Documents.Add With Application.FileSearch 'Search in foldername ..LookIn = "C:\test" ..SearchSubFolders = False ..FileName = "*.doc" ..Execute For i = 1 To .FoundFiles.Count If InStr(.FoundFiles(i), "~") = 0 Then Selection.InsertFile FileName:=(.FoundFiles(i)), _ ConfirmConversions:=False, Link:=False, Attachment:=False Selection.InsertBreak Type:=wdPageBreak End If Next i End With End Sub |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Wordperfect Office 2000 conversion to Word 2003 | New Users | |||
copying files from Wordperfect to Microsoft Word | New Users | |||
In typing dates in Word, i.e. "January 12" how do you keep the "1. | Microsoft Word Help | |||
word xp crashes after macros are recorded | Microsoft Word Help | |||
How to change merge forms from Word Perfect to Microsoft Word | Microsoft Word Help |