Solved

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

Posted on 2011-03-06
3
1,017 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
[X]
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
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

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

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

Preface: When I started this series, I used the term CommandBars because that is the Office Object class that it discusses. Unfortunately, when Microsoft introduced Office 2007, they replaced the standard Commandbar menus with "The Ribbon" and rem…
Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
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.
The viewer will learn how to make their project stand out over others by learning how to change colors and shapes, add spaces, change directions, and add bullets to their charts.

724 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