A family of Microsoft word processing software products for creating web, email, and print documents.
You will find the codes in the Insert Symbol dialog when the From: drop down is showing ASCII (decimal)
The following is a bit neater code for inserting parentheses before and after the selection
With Selection
.InsertBefore Chr(40)
.InsertAfter Chr(41)
End With
For square brackets []
With Selection
.InsertBefore Chr(91)
.InsertAfter Chr(93)
End With
For curly brackets { }
With Selection
.InsertBefore Chr(123)
.InsertAfter Chr(125)
End With
For En dash
With Selection
.InsertBefore Chr(150)
.InsertAfter Chr(150)
End With
For Em dash
With Selection
.InsertBefore Chr(153)
.InsertAfter Chr(153)
End With
For chevrons «»
With Selection
.InsertBefore Chr(171)
.InsertAfter Chr(187)
End With
-- Hope this helps.
Doug Robbins - Word MVP,
dkr[atsymbol]mvps[dot]org
Posted via the Community Bridge
"lemon scented" wrote in message news:*** Email address is removed for privacy ***...
Hi Herb,
This is very helpful.
Could you tell me what codes I should use for doing the same thing with parentheses, brackets, en dashes, and en dashes? Where are the codes found?
Thank you.
Cathy
Doug Robbins - Word MVP dkr[atsymbol]mvps[dot]org