![]() |
#1
|
|||
|
|||
![]()
I have a figure caption in a textbox and it flew off somewhere while I was moving images around. I have determined that it is "Text box 19" by searching for "Figure 1-7" but I don't know how to get it back. Is there some way to make Word 2016 show things that aren't on the page if they go off? Thanks.
|
#2
|
||||
|
||||
![]()
You might try a macro like the following. It ensures all shape objects are positioned within the page margins.
Code:
Sub Demo() Application.ScreenUpdating = False Dim Shp As Shape, iShp As InlineShape For Each Shp In ActiveDocument.Shapes With Shp If (.Top < .Anchor.PageSetup.TopMargin) Or _ (.Left < .Anchor.PageSetup.LeftMargin) Or _ (.Top > .Anchor.PageSetup.BottomMargin - .Height) Or _ (.Left < .Anchor.PageSetup.RightMargin - .Width) Then Set iShp = .ConvertToInlineShape iShp.ConvertToShape End If End With Next Application.ScreenUpdating = True End Sub
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
||||
|
||||
![]()
I shake my head following the ongoing sagas you are encountering because you decided to float all your graphics. When your pictures are full width of the page there is zero value in floating the pictures. As you can now appreciate, there is plenty of downside.
On the bright side, you've now discovered a new drawback I hadn't even considered.
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
#4
|
|||
|
|||
![]() Quote:
I'm trying to create a new macro but for some reason the editor opens with what looks like a macro pertaining to my reference/citation manager Zotero. Ctrl + N makes a new line rather than a new macro. Can I replace 'ZoteroAddEditBibliography Macro' without affecting the function of my reference manager add-in? Edit: never mind; I was able to highlight the invisible caption box using the selection pane which caused its anchor to appear and then I dragged the anchor into my new borderless table which caused it to appear at the top of the table. Quote:
I started putting my figures into borderless tables one or two weeks ago but I started this document a few months ago so there are many images which are not in tables. I was actually trying to put existing images into tables when a caption box flew off somewhere. |
#5
|
||||
|
||||
![]()
The borderless tables is also not necessary and IMO doesn't add value unless either:
The graphics have to flow text to the left or right of the graphic. You put your captions above a multi-page graphic and want to repeat the same caption on each of the pages. If neither of these apply to your graphics then the tables are an extra level of complexity for no discernable value. I see you've solved the issue now but don't put the macro in the same template as your bibliography tools. You should have a project explorer on the left of the VBA editor GUI. From there you can choose a template and module in which to place your macro. You will be able to add modules to the Normal template and can put the macro in there.
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
#6
|
|||
|
|||
![]()
If I leave graphics inline with text then I can't centre them on the page and if the caption is not in a text box then I can't make the width of the caption the same as the width of the graphic.
|
#7
|
||||
|
||||
![]()
Inline content can indeed be centred on the page, both vertically and horizontally, and the caption can also be the same width (simply set the left & right indents accordingly). For the vertical centring, insert Section breaks either side of the image & caption, then change that Section's vertical alignment to 'center'. Horizontal alignment is just a matter of paragraph formatting.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Staywme | Word | 2 | 11-26-2016 05:30 PM |
Radio buttons in a particular page gets disabled when i scroll down and return back to that page. | arnprd | Word | 0 | 06-18-2015 10:54 AM |
![]() |
SQLUSA | Word | 5 | 12-18-2012 03:53 PM |
![]() |
Straitsfan | Word | 4 | 06-27-2012 02:46 PM |
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 |