removing a portion of a word document RRS feed

  • Question

  • In a word document I want to be able to remove a section of that document that has bullet point and etc .

    If i identify the section by say

    <Tag1> this is a text </Tag1>

    and try to replace the above with string.Empty using  wordApp.Selection.Find.Execute it works fine however if you have alot more like

    Can someone shine some light on how I can achieve this in c# and dotnet ?


    things do not seem to work using that technique.

    Thursday, January 31, 2013 12:56 AM

All replies

  • Are you using wdReplaceAll constant? Can you post the complete Find.Execute call?

    Anze Javornik

    Thursday, January 31, 2013 11:28 AM