#1
|
|||
|
|||
What's this sign and how to remove it from my document?
Hi,
I copied a long web page body text and pasted it into a blank page in MS Word. everything is okay, but I see many numbers of this strange sign that I haven't seen it before and don't know what's meaning and more importantly how can I remove all of them from my 24-pages document instead of one by one? Best, Wordfinder! |
#2
|
||||
|
||||
Select one of them and copy it. Then open the find and replace dialog and paste it into the Find what box and press Replace All
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
#3
|
||||
|
||||
The symbols in your screen shot look like Word bookmarks. These are created automatically by Word if you copy and paste as link, that is, if you create an OLE link. Of course, they could also have been created manually by someone who has edited the document. Bookmarks can be removed from the Insert > Bookmark dialog box.
__________________
Stefan Blom Microsoft Word MVP Microsoft 365 apps for business Windows 11 Professional |
#4
|
|||
|
|||
They can't be select to copy it!
|
#5
|
|||
|
|||
Quote:
|
#6
|
||||
|
||||
Quote:
There is no built-in command to remove all bookmarks in one step. A macro could be used, I suppose. However, note that you do not have to remove the bookmarks, even if they are not being used. If you leave them behind, they won't cause any harm.
__________________
Stefan Blom Microsoft Word MVP Microsoft 365 apps for business Windows 11 Professional |
#7
|
||||
|
||||
Quote:
If you need to preserve some formatting from the original source, then you'll need to tag it so you can recreate it after the DOCX > TXT > DOCX trip. |
#8
|
|||
|
|||
Nice trick! Yes, I need the source formatting and saved txt removed all styles. I didn't get understand what you mean of tag, would you please give more information about how to reserve the source formatting in my doc file after txt step?
|
#9
|
||||
|
||||
Converting to text only is akin to throwing the baby out with the bathwater.
The bookmarks are not a particular problem you need to remove and certainly if there are any cross-references in the document, removing bookmarks could be causing lots of broken cross-references. You can HIDE the bookmark indicator so they become invisible by going to Tools > Options > Advanced > Show Document Content > Show Bookmarks and unchecking the box. You can delete all bookmarks by running a macro such as Code:
Sub KillBookmarks() Do While ActiveDocument.Bookmarks.Count > 0 ActiveDocument.Bookmarks(1).Delete Loop End Sub
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
#10
|
||||
|
||||
Quote:
Your solutions are much better for one-off situations. Quote:
I deal with long documents—typically 25-100K words—which may have been thru a lot of different OSs and WP programs. After a frustrating year of trying to track down weird and wonderful problems, I developed a 'nuke and rebuild' process. Essentially it's a bunch of Global Replace macros before and after the TXT step. So to preserve all italics: Original doc: Find all italic text; Replace each instance with [startItalic]Found Text[EndItalic]. The square brackets' content are the 'tags' I mentioned, they can be anything you like as long as they are unique—ie won't match any legit content. Code:
Sub IdentifyItalic() 'Surround Italic text with ItalicStart and ItalicEnd to identify it when formatting is stripped. Selection.Find.ClearFormatting Selection.Find.Font.Italic = True Selection.Find.Replacement.ClearFormatting With Selection.Find .Text = "" .Replacement.Text = "ItalicStart^&ItalicEnd" .Forward = True .Wrap = wdFindContinue .Format = True .MatchCase = False .MatchWholeWord = False .MatchWildcards = False .MatchSoundsLike = False .MatchAllWordForms = False End With Selection.Find.Execute Replace:=wdReplaceAll End Sub Find all the text tagged above, using Wildcards; Make it Italic; A later routine deletes all tags and changes direct formatting to styles. Code:
Sub ItalicRestore() 'Restore Italics [blue for visibility disabled due to problem caused for BaseFix routine] Selection.Find.ClearFormatting Selection.Find.Replacement.ClearFormatting With Selection.Find.Replacement.Font .Italic = True ' .Color = wdColorBlue End With With Selection.Find .Text = "ItalicStart*ItalicEnd" .Replacement.Text = "^&" .Forward = True .Wrap = wdFindContinue .Format = True .MatchCase = False .MatchWholeWord = False .MatchAllWordForms = False .MatchSoundsLike = False .MatchWildcards = True End With Selection.Find.Execute Replace:=wdReplaceAll End Sub |
#11
|
|||
|
|||
Quote:
Hide/Show is a good idea for hiding bookmarks while we need them, but we don't like they appear on my docs. Thank you! |
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need to remove Document Type list from document | parsonsv | Word | 2 | 05-15-2017 07:23 AM |
How to Remove Equal-sign lines that cross the page | arthur gatti | Word | 1 | 08-12-2015 12:53 PM |
How to make a sign in sheet? | Queenofmycastle | OneNote | 2 | 06-29-2015 08:48 AM |
How to sign out from the outlook? | Jamal NUMAN | Outlook | 0 | 11-21-2010 07:28 PM |
paragraph sign appearing in document | ajetrumpet | Word | 1 | 08-24-2010 05:46 AM |