I have about 100 forms to sort through and get various information from, they are all of the same template.
Being a fair VBA-er, I am developing a sub to step through each form in the folder and save the result in a new doc for the entire batch of templates.
I am using the following code to get my 1st string, which is fairly straightforward:
Code: Select all
Selection.GoTo wdGoToHeading, wdGoToAbsolute, 3
Selection.GoTo wdGoToTable, wdGoToNext
Selection.Move wdCell, 2
Selection.SelectCell
str1 = Selection
str1 = Replace(str1, "_", "")
str1 = Replace(str1, "(Yes/No)", "")
str1 = Left(str1, Len(str1) - 2)
Code: Select all
'SysImpact
Selection.GoTo wdGoToHeading, wdGoToAbsolute, 4
Selection.GoTo wdGoToTable, wdGoToNext
Selection.Move wdCell, 1
I know it must be simple....
Thanks