Below is a sample of the code I am using, hopefully the answer is not too complicated the string I want to insert, is for example dlgtitle1 and I want that to insert onto the bookmark 'Name1' If I also want String 'dlgSurname1' to be inserted after a space and dlgtitle1 how do I combine them both
Sub AutoNew()
FxFrmInfo.Show
Application.ScreenUpdating = False
If dlgCancelled = False Then
Selection.GoTo What:=wdGoToBookmark, Name:="Name1"
Selection.TypeText Text:=dlgTitle1
Selection.GoTo What:=wdGoToBookmark, Name:="Name2"
Selection.TypeText Text:=dlgTitle2
Selection.GoTo What:=wdGoToBookmark, Name:="Address1"
Selection.TypeText Text:=dlgAddress1
Any ideas will be much apprreciated
Sub AutoNew()
FxFrmInfo.Show
Application.ScreenUpdating = False
If dlgCancelled = False Then
Selection.GoTo What:=wdGoToBookmark, Name:="Name1"
Selection.TypeText Text:=dlgTitle1
Selection.GoTo What:=wdGoToBookmark, Name:="Name2"
Selection.TypeText Text:=dlgTitle2
Selection.GoTo What:=wdGoToBookmark, Name:="Address1"
Selection.TypeText Text:=dlgAddress1
Any ideas will be much apprreciated