Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.newusers
Frank[_2_] Frank[_2_] is offline
external usenet poster
 
Posts: 2
Default line-drawing objects in Word 2002

I converted a batch of PDF files to Word documents, and the underlining in
the PDF came out as text with line-drawing objects (lines) under it. It's
hard to select these objects when they are so close in between lines of
text. I would prefer to run a macro that would simply delete all of them (I
can easily go back and manually underline the few things like titles that
really need underlining, with real Word underline formatting). But I don't
see any special character or special formatting command in the advanced
search and replace. What's the trick to searching for all
line-drawing-object lines and replacing them with nothing (i.e., deleting
them)? Thanks.


  #2   Report Post  
Posted to microsoft.public.word.newusers
BoniM BoniM is offline
external usenet poster
 
Posts: 97
Default line-drawing objects in Word 2002

The easiest way I've found is to use the Select Objects mouse pointer found
on the Drawing Toolbar. Click it to turn it on and then drag from upper left
to bottom right corner of the page and it will select all objects on the
page. Every single pesky little line... and then hit delete to get rid of
them, but retain the text.
Have fun!

"Frank" wrote:

I converted a batch of PDF files to Word documents, and the underlining in
the PDF came out as text with line-drawing objects (lines) under it. It's
hard to select these objects when they are so close in between lines of
text. I would prefer to run a macro that would simply delete all of them (I
can easily go back and manually underline the few things like titles that
really need underlining, with real Word underline formatting). But I don't
see any special character or special formatting command in the advanced
search and replace. What's the trick to searching for all
line-drawing-object lines and replacing them with nothing (i.e., deleting
them)? Thanks.



  #3   Report Post  
Posted to microsoft.public.word.newusers
Jay Freedman Jay Freedman is offline
external usenet poster
 
Posts: 9,854
Default line-drawing objects in Word 2002

On Sun, 18 Mar 2007 20:12:08 -0500, "Frank"
wrote:

I converted a batch of PDF files to Word documents, and the underlining in
the PDF came out as text with line-drawing objects (lines) under it. It's
hard to select these objects when they are so close in between lines of
text. I would prefer to run a macro that would simply delete all of them (I
can easily go back and manually underline the few things like titles that
really need underlining, with real Word underline formatting). But I don't
see any special character or special formatting command in the advanced
search and replace. What's the trick to searching for all
line-drawing-object lines and replacing them with nothing (i.e., deleting
them)? Thanks.


You can't use Replace to remove drawing objects. The macro you want
would be hard to record, but it's trivial to write from scratch:

Sub NoLines()
Dim oShap As Shape
For Each oShap In ActiveDocument.Shapes
If oShap.Type = msoLine Then
oShap.Delete
End If
Next
End Sub

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.
  #4   Report Post  
Posted to microsoft.public.word.newusers
Ghost[_2_] Ghost[_2_] is offline
external usenet poster
 
Posts: 1
Default line-drawing objects in Word 2002

Thanks all -

I used both tech.s with great success. I now prefer the macro coding because
I placed the macro icon on tool bar. With the click of a mouse, I can delete
all drawn lines at one time.

Once again, I deeply appreciate your time and assistance.



"Frank" wrote in message
...
I converted a batch of PDF files to Word documents, and the underlining in
the PDF came out as text with line-drawing objects (lines) under it. It's
hard to select these objects when they are so close in between lines of
text. I would prefer to run a macro that would simply delete all of them
(I can easily go back and manually underline the few things like titles
that really need underlining, with real Word underline formatting). But I
don't see any special character or special formatting command in the
advanced search and replace. What's the trick to searching for all
line-drawing-object lines and replacing them with nothing (i.e., deleting
them)? Thanks.



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Layout Drawing Objects for Duplex Printing Gordzilla Page Layout 1 March 13th 07 09:42 AM
Drawing objects printing as field code... Raymond New Users 1 August 7th 06 11:37 PM
Word 2002 problem with drawing objects BCbear Microsoft Word Help 2 July 26th 05 09:13 PM
how to embed engineering drawing symbols as objects ragtop94 Microsoft Word Help 1 July 26th 05 07:14 PM
How come when I insert clipart or drawing objects, they disappear. OSL Secretary Microsoft Word Help 2 December 27th 04 09:23 PM


All times are GMT +1. The time now is 04:56 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"