I'm kind of new to VBA programming, so this is probably a kind of easy question, or atleast I hope it is.
I've been given a quiete complex macro that needs to be modified to fit in our new documents. The problem I'm facing now is that the macro I have search for the text "test result:". What I want it to do is searching for a table where the upper left cell says "Results"
the code that is used now is the following
...
Set TCResultPos = TCHeadingRange
TCResultPos.Collapse wdCollapseStart
With TCResultPos.Find
.text = "Test Result:"
.ClearFormatting
.ClearAllFuzzyOptions
.Replacement.text = ""
.Forward = True
.Wrap = wdFindStop
.Execute
End With
...
Is it possible to just do a modification to this code to make it do what I want, or will I have to write a new loop to search for it?
Bookmarks