Click here to Skip to main content
13,201,050 members (54,353 online)
Click here to Skip to main content

Tagged as

Stats

4K views
Posted 1 Jan 2013

delete a line in word from VB.net

, 1 Jan 2013
Hi, i'm looking for a function to delete one line from a word document. I want to do this from VB.net.I tried:Do While WordDoc.Content.Find.Execute(FindText:="%NP6%", Wrap:=Word.WdFindWrap.wdFindContinue) = True WordApp.Selection.Range.Bookmarks("\line").Range.Delete()Loop...

Revisions


  

Compare Revision Minor Date Status Editor
2 - publicly available No 1-Jan-13 10:23 Available RobertRos
Updates in content. 24 changes had been made.
1 No 1-Jan-13 10:13 Available RobertRos

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

RobertRos
United States United States
This member doesn't quite have enough reputation to be able to display their biography and homepage.

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.171020.1 | Last Updated 1 Jan 2013
Article Copyright 2013 by RobertRos
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid