Word VBA macro to delete paragraph

MarionP -  
Zoul67 Posted messages 2001 Status Member -
Hello,
I am looking for a way to automatically delete certain subparts of a document word through a userform where we could check the parts we want to keep, or not.
I have created the userform, but since I have never done a macro applied to Word documents, I don't know how to proceed with the deletion of subparts (I can only manage to erase the title of the subpart!!)

Thank you very much for your suggestions on this :)

Marion

Configuration: Windows XP / Firefox 27.0

1 answer

  1. Zoul67 Posted messages 2001 Status Member 149
     
    Hello,

    I have only created a few macros for Word, but I think the main difficulty is distinguishing the sub-parts.
    If it's organized in a table (which I have encountered and that made things easier), the equivalent of pressing the Tab key is very useful.
    If it's prose, I think you'll need to go through the distinction based on styles.

    Talk to you later!
    0