Hello All. Is there a way to remove the Underline from TrackRevisions in MS Word. This code I am using is below.
I have the data in a MS Access Table. The results come from comparing the data in 2 other tables.
I am adding the results to a table in MS Word. When is is added to the MS Word Table using "TrackRevisions = True", it has an underscore.
The underscore is fine if it is an "ADD" or "New Term". If it is a "DELETE" or Term that has been removed, I need to remove the underscore.
I need to keep TrackRevisions on for all ADD and DELETE Terms. It is turned off for Terms that have a MATCH'
I have attached a photo to show the difference between VB and VBA.
If strtxtStatusAAW = "Delete" Then
objDoc.TrackRevisions = True
strTrackRevisions = True
er, 1).Range.Text = strttxtTermAAW
er, 2).Range.Text = strttxtDefinitionAAW
ethrough = True
ine = wdUnderlineNone