R
Ronny
Is it possible to convert a integer to string. I want to use the “counter†as
part of the string as shown below. (Text2 shall then be “Text1â€, “Text2â€,
“Text3â€, “Text4â€)
Dim Counter As Integer
Dim Text1 As String
Dim Text2 As String
For Counter = 1 To 4
Text2 = “Text†+ Counter
Text1 = ActiveDocument.Bookmarks(Text2).Range.Text
If Text1 = Text2 Then……
part of the string as shown below. (Text2 shall then be “Text1â€, “Text2â€,
“Text3â€, “Text4â€)
Dim Counter As Integer
Dim Text1 As String
Dim Text2 As String
For Counter = 1 To 4
Text2 = “Text†+ Counter
Text1 = ActiveDocument.Bookmarks(Text2).Range.Text
If Text1 = Text2 Then……