PDA

View Full Version : Remove string enclosed with < and > as well as the < and the >



agent86
12-01-2013, 10:19 AM
Word 2010

I need to replace a string <ReportTable1> with empty string. So I guess it might better be described as finding and deleting the string <ReportTable1>

When I do it now it leaves the <> there.

Thanks

agent86
12-01-2013, 01:39 PM
I figured it out. The search string is as follows.

ReportInstance = 1

strSearchString = "\<ImageTable efrm" & ReportInstance & "\>"