Caporegime
- Joined
- 28 Jun 2007
- Posts
- 52,812
- Location
- Tamworth, UK
This is seriously dissing me off.
I set a section of a document to delete based upon input. If the input is false, then I am left with one empty line which is what I want. If the input is true, then I am deleting between two bookmarks which leaves two lines. I can't delete between a previous bookmark because it's already been removed.
Also, if a bookmark is false, then I want to not only remove the bookmark, but remove the empty space. I can't set the code to delete " " because i'll end up with lines of stupid text, and I can't do this between bookmarks.
Yours sincerely,
Gillwibble
I set a section of a document to delete based upon input. If the input is false, then I am left with one empty line which is what I want. If the input is true, then I am deleting between two bookmarks which leaves two lines. I can't delete between a previous bookmark because it's already been removed.
Also, if a bookmark is false, then I want to not only remove the bookmark, but remove the empty space. I can't set the code to delete " " because i'll end up with lines of stupid text, and I can't do this between bookmarks.
Yours sincerely,
Gillwibble
