4

The particular document I'm creating involves folding the page in half, so one side is upside down relative to the other when printed, but when assembled, they're mirrors of each other.

The question really says it all - is there a way to link two text boxes together so that what appears in one automatically appears in the other?

T.J.L.
  • 1,300

1 Answers1

2

You could press ALT+F11 and use macros:

Private Sub Document_Open()
  ActiveDocument.Pages(1).Shapes("Text Box 2").TextFrame.TextRange.Text = ActiveDocument.Pages(1).Shapes("Text Box 1").TextFrame.TextRange.Text
End Sub

This way, every time the document is opened, text is copied from "Text Box 1" to "Text Box 2".


You might want to find out the names of all text boxes in the document with:

Sub EnumerateTextBoxes()
  Dim pubPage As Page
  Dim pubShape As Shape
  For Each pubPage In ActiveDocument.Pages
    For Each pubShape In pubPage.Shapes
      If pubShape.Type = pbTextFrame Then
        MsgBox pubShape.Name
      End If
    Next pubShape
  Next pubPage
End Sub
simlev
  • 3,912