How to Reinitialize Number List in Doc File While Merging Multiple Doc File?
Here Is a Code
Dim objWord As Object objWord = CreateObject("Word.Application") '
objWord.Documents.Add("E:\Arun Projects\PPRM\PPRM\PPRM\bin\Debug\SectionAttachedFiles\5\500.doc")
objWord.Selection.EndKey(Unit:=6)
objWord.Selection.InsertBreak()
objWord.Selection.InsertFile(filename:="E:\Arun Projects\PPRM\PPRM\PPRM\bin\Debug\SectionAttachedFiles\5\501.doc", Range:="", ConfirmConversions:=False, Link:=False, Attachment:=False)
objWord.Selection.EndKey(Unit:=6)
objWord.Selection.InsertBreak()
objWord.Selection.InsertFile(filename:="E:\Arun Projects\PPRM\PPRM\PPRM\bin\Debug\SectionAttachedFiles\5\502.doc", Range:="", ConfirmConversions:=False, Link:=False, Attachment:=False)
objWord.Visible = True
Comments
Post a Comment