Click here to Skip to main content
12,689,349 members (24,792 online)
Click here to Skip to main content

Tagged as

Stats

3.4K views
Posted

delete a line in word from VB.net

, 1 Jan 2013 CPOL
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 6:23 Available RobertRos
Updates in content. 24 changes had been made.
1 No 1-Jan-13 6: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
No Biography provided

You may also be interested in...

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