![]() |
|
|||||||
|
|
|
Thread Tools | Display Modes |
|
|
|
#1
|
||||
|
||||
|
It's possible the offending shape is transparent or so small you can't see it. It's also possible the offending shape has been positioned outside the page area. Here is a macro that you can use with any of your documents. Basically, it looks for any shapes that are positioned to the left of the page boundary and repositions them so you can see them. It also makes very small shapes (height + width < 12pt) large enough to be more apparent. Code:
Sub ShowShapes()
Dim Shp As Shape, Rng As Range
With ActiveDocument
For Each Rng In .StoryRanges
On Error Resume Next
For Each Shp In Rng.ShapeRange
If Shp.Left < 0 Then
Shp.Left = 0
Shp.ZOrder msoBringToFront
End If
If (Shp.Height + Shp.Width) < 12 Then
Shp.Height = 12
If Shp.Width < 12 Then Shp.Width = 12
End If
Next
Next
End With
End Sub
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
#2
|
|||
|
|||
|
Macro did not positively identify offending character (actually in footnote below the one I had deleted previously based on Find graphics function) but the increased spacing as per your comments caught my eye. Unable to delete the 'space' so cut & pasted footnote to Notepad and back into doc again and problem fixed! The offending character was in text copied from a website years ago. Thanks!
|
|
#3
|
||||
|
||||
|
The macro doesn't try to 'identify' anything - it simply makes potential problem shapes easier for you to identify, which is what I gather it achieved.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| My plain text post got converted to rich text in a reply, how to convert it back? | david.karr | Outlook | 0 | 01-05-2012 09:46 AM |
| error when using omsgclas.doc to convert forms | dunndealpr | Office | 0 | 08-02-2011 12:42 PM |
Callout macro needed - Help please
|
Peter Denly | Word VBA | 19 | 07-20-2011 03:30 AM |
^g for all graphics, what about drawings only?
|
ghumdinger | Word | 8 | 06-22-2011 08:30 PM |
| MS Word 2007 error when trying to upload .doc or .docx to a webpage | heretical1 | Word | 0 | 10-06-2010 12:20 PM |