Click here to Skip to main content
15,891,657 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
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...
Posted

1 solution

 
Share this answer
 
Comments
ShobuGpta 20-Jun-14 1:16am    
thanks it worked, i used the second answer, but i din't understand it's logic, how this code is working??
PrakashCs.net 20-Jun-14 1:23am    
welcome friend.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900