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
C#ASP.NET.NET Programming

Avatar of undefined
Last Comment
xedge88

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Rgonzo1971

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
xedge88

ASKER
hi Rgonzo1971,

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

regards,
Saran
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck