Solved

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

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

It is often necessary in this forum and others to illustrate Word fields as text with the field delimiters replaced with the curly brackets that the delimiters resemble when field codes are being displayed on the document. This means that the text c…
A few years ago I was very much a beginner at VBA, and that very much remains the case today.  I'll do my best to explain things as I go in the hope that other beginners can follow.  If you just want to check out a tool that creates a Select Case fu…
This video shows and describes the main difference between both orientations in Microsoft Word. Viewers will understand when to use each orientation and how to get the most out of them.
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 …

760 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

20 Experts available now in Live!

Get 1:1 Help Now