Solved

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

Posted on 2011-03-06
3
960 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Like many others, we try and discourage users from printing documents unnecessarily and instead send or share them electronically. However, this doesn't always work and documents are still printed. With this simple solution, if the user tries to …
Nice table. Huge mess. Maybe this was something you created way back before you figured out tabs or a document you received from someone else. Either way, using the spacebar to separate the columns resulted in a mess. Trying to convert text to t…
This video shows where to find templates, what they are used for, and how to create and save a custom template using Microsoft Word.
Office 365 is currently available in five editions. Three of them are for business use: Office 365 Business Essentials, Office 365 Business, and Office 365 Business Premium. Two of them are for home/personal use: Office 365 Home and Office 365 Perso…

914 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now