M
M.L.Srinivas
Hi,
My task is to combine word documents from a selected
folder. I do not want the formatting to be disturbed while
combining
I'm using the following code:
Set myrange = wdcombine.Range
numchar = wdcombine.Characters.count
Set EndofDoc = wdcombine.Characters(numchar)
Set myrange = EndofDoc
myrange.Collapse wdCollapseEnd
wdcombine.Range.InsertBreak
Type:=wdSectionBreakNextPage
wdcombine.Range.InsertFile lbltarget
& "\Log.doc", , ConfirmConversions:=False
this is combining the documents but there's lot of
inconsistency while doing that in regard to formatting.
can anybody suggest the changes or an alternative logic.
Any suggestion is appreciated.
M.L.Srinivas
My task is to combine word documents from a selected
folder. I do not want the formatting to be disturbed while
combining
I'm using the following code:
Set myrange = wdcombine.Range
numchar = wdcombine.Characters.count
Set EndofDoc = wdcombine.Characters(numchar)
Set myrange = EndofDoc
myrange.Collapse wdCollapseEnd
wdcombine.Range.InsertBreak
Type:=wdSectionBreakNextPage
wdcombine.Range.InsertFile lbltarget
& "\Log.doc", , ConfirmConversions:=False
this is combining the documents but there's lot of
inconsistency while doing that in regard to formatting.
can anybody suggest the changes or an alternative logic.
Any suggestion is appreciated.
M.L.Srinivas