Try the following:
oPara1.Range.Ins
//Here I need to remove the bullet point on the next paragraph
oPara1.Range.List
Hi,
I am using C# to automatically populate text in a Word Document. I need a certain paragraph to have bullet points but the next paragraph revert to normal text. I can insert the bullet points but cannot remove them. I am using the following code:
Object oTrue = true;
Object oFalse = false;
Object oTemplatePath = @"C:\SampleTemplate.dotx";
Microsoft.Office.Interop.W
Microsoft.Office.Interop.W
Microsoft.Office.Interop.W
oWord.Visible = true;
oDoc = oWord.Documents.Add(ref oTemplatePath, ref oMissing, ref oMissing, ref oMissing);
oPara1 = oDoc.Content.Paragraphs.Ad
oPara1.Range.ParagraphForm
oPara1.Range.ListFormat.Ap
oPara1.Range.Text = "Sample Text that has a preceding bullet point";
oPara1.Range.InsertParagra
//Here I need to remove the bullet point on the next paragraph
Any help would be greatly appreciated.
Thanks
David
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: DanSo1Posted on 2009-04-06 at 06:05:59ID: 24076895
Hi
moveNumber s(ref oNumberType);
You can use RemoveNumbers method:
oPara1.Range.ListFormat.Re
oNumberType is wdNumberParagraph
Regards
Danso