且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何从word文件中删除所有分节符

更新时间:2023-02-09 13:31:30

请通过此链接



http://***.com/questions/13955478/word-2007-remove-section-break [ ^ ]


I want to remove all the Section Breaks from my word file, i'm using this code, but it removes only page breaks, not Section Breaks


app.ActiveWindow.Selection.Find.Execute("^m", false, false, ref o, ref o, ref o, true, ref findWrap, true, "", ref replace, ref o, ref o, ref o, ref o);

please help me with this...

please go through this link

http://***.com/questions/13955478/word-2007-remove-section-break[^]