View Single Post
 
Old 07-31-2021, 09:03 PM
gmayor's Avatar
gmayor gmayor is offline Windows 10 Office 2019
Expert
 
Join Date: Aug 2014
Posts: 4,144
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

I think what you want is


Code:
Sub Quote()
Selection.InsertBefore Chr(34)
Selection.InsertAfter Chr(34) & ",  ," & vbCr
Selection.MoveEnd 6 'the number of characters added after the selection
Selection.Collapse 0
End Sub

'0r
Sub Quote2()
Selection.InsertBefore """"
Selection.InsertAfter """,  ," & vbCr
Selection.MoveEnd 6 'the number of characters added after the selection
Selection.Collapse 0
End Sub
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote