Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How do I stop Word 2007 from creating gray brackets / OLE bookmarks when copying?

Posted on 2011-03-06
3
980 Views
Last Modified: 2012-08-13
Hey all.

Been trying to figure this out, and have been scouring the Internet looking for a solution, to no avail.  Here's the deal.  Every time I use Control + C to copy text in Word 2007, the program puts these grey brackets around them.  I did some research, and found out that these were OLE bookmarks.  They can be deleted manually, or via macro, but I don't want to have to keep deleting bookmarks that I didn't want in the first place.  These documents are edited by about a dozen people who copy and paste freely.  The bookmarks are creating a ton of clutter.

I know that there's an option to hide these bookmarks, but that's not doable.  We actually do use the bookmark function for legit, manually placed bookmarks.

I have noticed that this behavior is not universal.  There are some computers on which it doesn't occur.  Yet, I cannot see any difference, so I cannot figure out why.  

Anybody have any ideas?
0
Comment
Question by:RayAdverb
3 Comments
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 500 total points
ID: 35049056
Is it just the visibility of the bookmarks that is the problem? The default is not to see them, and it is possible to use bookmarks without keeping them visible.

You could run a small macro periodically to delete them.
Sub DelOLEBookmarks()
    Dim bmk As Bookmark
    For Each bmk In ActiveDocument.Bookmarks
        If InStr(1, bmk.Name, "OLE_LINK", vbTextCompare) = 1 Then
            bmk.Delete
        End If
    Next bmk
End Sub

Open in new window

0
 

Author Comment

by:RayAdverb
ID: 35050353
Graham,

It's kinda hard to explain.  We're using the bookmarks not so much as jumping points within the document (as you would bookmarks when, say, reading an Ebook), but as demarcation points between separate areas of text.  

I've seen the macro you're referring to, and while it'd work as a nice after the fact when one person is finished working with these documents, it'd get cluttered up again when the next person starts copying and pasting.

If there is absolutely no way to disable the bookmarks from being created, I'll accept that and we can figure out a workaround (I'm thinking forego Ctrl + C for copying and instead use Ctrl + X plus Ctrl + V for the same overall effect but without the bookmarks being added).
0
 
LVL 2

Expert Comment

by:cblapp
ID: 35698627
Are these pieces of text being copied from another document or another program?  What process are they using to place it in the new document?  It sounds like they are using a "Paste Special" command, which would create a link to the original location.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Do you ever need to create a 20 page Word document for some testing purpose? Are you tired of copying & pasting old boring "lorem ipsum" text over and over again, increasing font size and line space in order to make the document 20+ pages long? Look…
Microsoft Word is a program we have all encountered at some point, but very few of us have dug deep into its full scope of features, let alone customized it to suit our needs. Luckily making the ribbon (aka toolbar, first introduced in Word 2007) wo…
This video shows where to find templates, what they are used for, and how to create and save a custom template using Microsoft Word.
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question