Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-24-2019, 12:46 PM
daithy daithy is offline Moving pictures/tables with captions Windows 10 Moving pictures/tables with captions Office 2019
Advanced Beginner
Moving pictures/tables with captions
 
Join Date: Nov 2019
Posts: 32
daithy is on a distinguished road
Default Moving pictures/tables with captions

Hi,




I am writing a report for college. I need to use some graphics like pictures and graphs. I need to name them as Fig. 1, 2, 3, etc.


I understand that Word can do this by adding a caption with a label to the picture. Nice! Also I can use styles/caption to modify. Nice!


But, as writing goes in can be quite messy in early stages where the structure can get moved a lot, content added/removed.


So my problem is as follows. I write and keep adding graphics from various sources. I add caption and references. Word keeps the numbering going automatically. Fig. 1, 2, 3, 4 etc.


But when I decide to move a heading or the picture to a different position within the document, word doesn't change the numbering accordingly. As a matter of fact, it doesn't even moved the caption with the picture .

Example, I have Fig. 1, Fig. 2, Fig 3.
Fig. 3 now gets moved to the start of the document. Now we have Fig. 3, Fig. 2, Fig. 1 instead of the proper descending order.


And the caption doesn't move with the picture.



How do people deal with this issue? I supposed I could just add pictures and add captions in the final stage, but I would much prefer to do it as I go.




Am I doing something wrong?
Reply With Quote
  #2  
Old 11-24-2019, 01:47 PM
Charles Kenyon Charles Kenyon is offline Moving pictures/tables with captions Windows 10 Moving pictures/tables with captions Office 2016
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,081
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

  1. Put each picture/figure/image in a single-cell table.
  2. Add your captions. These will be inside the relevant table.
  3. When you want to move one, move the table. That will move the figure with its caption.
  4. Press Ctrl+A to select all.
  5. Press F9 to update fields.
Caption numbering is done using a SEQuence Field.

Last edited by Charles Kenyon; 12-02-2019 at 07:08 AM.
Reply With Quote
  #3  
Old 11-24-2019, 02:23 PM
daithy daithy is offline Moving pictures/tables with captions Windows 10 Moving pictures/tables with captions Office 2019
Advanced Beginner
Moving pictures/tables with captions
 
Join Date: Nov 2019
Posts: 32
daithy is on a distinguished road
Default

Quote:
Originally Posted by Charles Kenyon View Post
  1. Put each picture/figure/image in a single-cell table.
  2. Add your captions. These will be inside the relevant table.
  3. When you want to move one, move the table. That will move the figure with its caption.
  4. Press Ctrl+A to select all.
  5. Press F9 to update fields.
Caption numbering is done using a SEQuence Field.

Thank you! I did bit of digging around and found that Words lets you group them if you treat it as floating object.
Add, format, or delete captions in Word - Word

Last edited by Charles Kenyon; 12-02-2019 at 07:08 AM.
Reply With Quote
  #4  
Old 11-24-2019, 02:43 PM
macropod's Avatar
macropod macropod is offline Moving pictures/tables with captions Windows 7 64bit Moving pictures/tables with captions Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,956
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

See: https://www.msofficeforums.com/58886-post2.html
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #5  
Old 12-01-2019, 11:27 AM
daithy daithy is offline Moving pictures/tables with captions Windows 10 Moving pictures/tables with captions Office 2019
Advanced Beginner
Moving pictures/tables with captions
 
Join Date: Nov 2019
Posts: 32
daithy is on a distinguished road
Default

Quote:
Originally Posted by Charles Kenyon View Post
  1. Put each picture/figure/image in a single-cell table.
  2. Add your captions. These will be inside the relevant table.
  3. When you want to move one, move the table. That will move the figure with its caption.
  4. Press Ctrl+A to select all.
  5. Press F9 to update fields.
Caption numbering is done using a SEQuence Field.

Works like a dream! Thanks!

Last edited by Charles Kenyon; 12-02-2019 at 07:12 AM.
Reply With Quote
  #6  
Old 12-02-2019, 07:12 AM
Charles Kenyon Charles Kenyon is offline Moving pictures/tables with captions Windows 10 Moving pictures/tables with captions Office 2016
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,081
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Glad that it helped. I took the opportunity to add a part to my page on Complex Documents on moving figures with captions.
Reply With Quote
  #7  
Old 01-23-2020, 11:13 PM
kae0088 kae0088 is offline Moving pictures/tables with captions Windows 7 64bit Moving pictures/tables with captions Office 2010 32bit
Novice
 
Join Date: May 2012
Location: Melbourne, Australia
Posts: 20
kae0088 is on a distinguished road
Default

Rather than insert the shape and caption in a single cell table, I prefer to put them together in a group. The group is itself a floating shape that can be moved around, the sequence numbering changing if necessary – don’t forget to update all fields to get the new seq numbers.

The macro AddCaptionToFloatingShape will add a caption and group the caption with the shape.
Code:
Sub AddCaptionToFloatingShape()
Dim aShape As Shape
Dim shpName1 As String
Dim shpName2 As String
    If Selection.ShapeRange.Count <> 1 Then MsgBox "Floating shape not selected": Exit Sub
    shpName1 = Selection.ShapeRange(1).Name
    If Dialogs(wdDialogInsertCaption).Show Then
        shpName2 = Selection.ShapeRange(1).Name
        Selection.ShapeRange(1).Anchor.Select
        Selection.Collapse
        Set aShape = ActiveDocument.Shapes.Range(Array(shpName1, shpName2)).Group
    End If
End Sub
Reply With Quote
Reply

Tags
caption, caption; figures; tables

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving pictures/tables with captions Macro to add captions to pictures inside word document Navis Word VBA 18 12-11-2019 03:39 PM
Moving pictures/tables with captions Table of tables and of other captions Messoloras Word 2 08-15-2018 04:57 AM
Moving pictures/tables with captions Different captions for tables & graphics rebfein Word 3 07-28-2018 12:47 PM
Moving pictures/tables with captions creating tables for row of figures and captions gib65 Word 2 08-12-2011 01:25 PM
Moving pictures/tables with captions Captions (tables and figures) mcjohn Word 1 02-11-2010 10:36 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:51 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft