Thread: InputBox error
View Single Post
 
Old 05-12-2022, 08:56 PM
brownees brownees is offline Windows 10 Office 2021
Novice
 
Join Date: May 2022
Location: Tauranga, New Zealand
Posts: 8
brownees is on a distinguished road
Default Caption bubble text

Another question. How do I get the text to paste inside the caption bubble?

Sub TestCreateCaptionBubble()
'Pastes a caption bubble and inserts reference to a photo number

Application.Templates( _
"C:\Users\Philip Browne\AppData\Roaming\Microsoft\Document Building Blocks\1033\16\Building Blocks.dotx" _
).BuildingBlockEntries("3").Insert Where:=Selection.Range, RichText:=True

Selection.Text = "Refer photo xx"

End Sub
Attached Images
File Type: png zz2.png (24.5 KB, 14 views)
Reply With Quote