Insert the graphic in a blank document. Select it. Tools>AutoCorrect
Options. Check the "Formatted Text" radio button. Type in a replace
option and click "add"
Just curious for your opinion... Is this better handled by AutoCorrect or
AutoText? I've always used the latter, but without actually knowing which is
preferred.
Well it is just my opinion, but I too would use AutoText. I think the
AutoText entry is more versatile (e.g., you can use it in Fields or
VBA.).
For example this inserts the AutoText "mypicture" in each cell of a
table.
Sub InsertAT()
Dim oCell As Cell
Dim myRng As Range
For Each oCell In ActiveDocument.Tables(1).Range.Cells
Set myRng = oCell.Range
myRng.MoveEnd wdCharacter, -1
ActiveDocument.AttachedTemplate.AutoTextEntries("mypicture").Insert _
Where:=myRng
Set myRng = Nothing
Next
End Sub
You do lose the AutoComplete Tip when the AutoText is a graphic, but
you can assign the AutoText to a keyboard shortcut.
I suppose "preferred" is a matter of preference ;-)
As a somewhat acceptable workaround, I type a few characters next to the
(InLine) graphic, format them as Hidden & give it a typical 4-character+
name. The AutoComplete Tip works just fine.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.