I am trying to remove a row in a table that contains a zero value. My template is created in a way that it will produce a special string, in this case, "|8|" when hitting a field with $0.00 This is intended so that the document can remove the row where the cell contains such special character by using the below code so the users do not see that line at all.
' Search |8| and delete the row for excessive empty or zero value row (Old code using MS OXPPIA COM object)
.Text = "|8|"
.Forward = True
.Wrap = WdFindWrap.wdFindContinue
.Format = False
.MatchCase = False
.MatchWholeWord = True
.MatchByte = False
.MatchWildcards = False
.MatchAllWordForms = False
I have been looking all day and cannot find anything in Aspose.Word to do that. Have I overlooked something or is there any other way that I can perform the same task?