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.wdSection BreakConti nuous;
if (RngFind.Find.Execute(sect ionBreak))
{
while (RngFind.Find.Found)
{
RngFind.Select();
RngFind.Find.Execute(secti onBreak);
}
}
if i find Word.WdBreakType.wdSection BreakConti nuous, It's finding "digit 8"
Please help to solve this, thanks in advance.
Regards,
Saran
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.wdSection
if (RngFind.Find.Execute(sect
{
while (RngFind.Find.Found)
{
RngFind.Select();
RngFind.Find.Execute(secti
}
}
if i find Word.WdBreakType.wdSection
Please help to solve this, thanks in advance.
Regards,
Saran
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for quick reply, now i achieved by this method, can't we find directly?
regards,
Saran