Link to home
Start Free TrialLog in
Avatar of xedge88
xedge88

asked on

finding SectionBreakContinues

Hi Experts,

I have doubt in finding Section Break(Continues), if i find "^b", it's showing all kind of Section Break, but i want to find only Section Break(Continues) only.

            if (RngFind.Find.Execute("^b"))
            {
                while (RngFind.Find.Found)
                {
                    RngFind.Select();
                    RngFind.Find.Execute("^b");
                }
            }

or
            object sectionBreak = Word.WdBreakType.wdSectionBreakContinuous;

            if (RngFind.Find.Execute(sectionBreak))
            {
                while (RngFind.Find.Found)
                {
                    RngFind.Select();
                    RngFind.Find.Execute(sectionBreak);
                }
            }

if i find Word.WdBreakType.wdSectionBreakContinuous, It's finding "digit 8"


Please help to solve this, thanks in advance.

Regards,
Saran
ASKER CERTIFIED SOLUTION
Avatar of Rgonzo1971
Rgonzo1971

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of xedge88
xedge88

ASKER

hi Rgonzo1971,

Thanks for quick reply, now i achieved by this method, can't we find directly?

regards,
Saran