Remove Underline From TrackRevisions in MS Word Table

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
        tblAppA.Rows(intrsttblAppendixAWorkingRowCounter).Select
        tblAppA.Cell(intrsttblAppendixAWorkingRowCounter, 1).Range.Text = strttxtTermAAW
        tblAppA.Cell(intrsttblAppendixAWorkingRowCounter, 2).Range.Text = strttxtDefinitionAAW
        tblAppA.Rows(intrsttblAppendixAWorkingRowCounter).Range.Font.Strikethrough = True
        blAppA.Rows(intrsttblAppendixAWorkingRowCounter).Range.Font.Underline = wdUnderlineNone
    End If

Thanks
WonHop
TrackChangesUnderline.JPG
LVL 2
WonHopAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

WonHopAuthor Commented:
Hello All.  I got it to work.  The key was to set TrackRevisions = True.  Add the data. Add the Strikethrough .
Then set TrackRevisions = False and Add the data again.  It keeps the Strikethrough , but it get rid of the Underline.

    If strtxtStatusAAW = "Delete" Then
        objDoc.TrackRevisions = True
        tblAppA.Rows(intrsttblAppendixAWorkingRowCounter).Select
        tblAppA.Cell(intrsttblAppendixAWorkingRowCounter, 1).Range.Text = strttxtTermAAW
        tblAppA.Cell(intrsttblAppendixAWorkingRowCounter, 2).Range.Text = strttxtDefinitionAAW
        tblAppA.Rows(intrsttblAppendixAWorkingRowCounter).Range.Font.Strikethrough = True
        objDoc.TrackRevisions = False
        tblAppA.Cell(intrsttblAppendixAWorkingRowCounter, 1).Range.Text = strttxtTermAAW
        tblAppA.Cell(intrsttblAppendixAWorkingRowCounter, 2).Range.Text = strttxtDefinitionAAW
        tblAppA.Rows(intrsttblAppendixAWorkingRowCounter).Range.Font.Color = 204
   End If
0
WonHopAuthor Commented:
Hello All.  I got it to work.  The key was to set TrackRevisions = True.  Add the data. Add the Strikethrough .
Then set TrackRevisions = False and Add the data again.  It keeps the Strikethrough , but it get rid of the Underline.

    If strtxtStatusAAW = "Delete" Then
        objDoc.TrackRevisions = True
        tblAppA.Rows(intrsttblAppendixAWorkingRowCounter).Select
        tblAppA.Cell(intrsttblAppendixAWorkingRowCounter, 1).Range.Text = strttxtTermAAW
        tblAppA.Cell(intrsttblAppendixAWorkingRowCounter, 2).Range.Text = strttxtDefinitionAAW
        tblAppA.Rows(intrsttblAppendixAWorkingRowCounter).Range.Font.Strikethrough = True
        objDoc.TrackRevisions = False
        tblAppA.Cell(intrsttblAppendixAWorkingRowCounter, 1).Range.Text = strttxtTermAAW
        tblAppA.Cell(intrsttblAppendixAWorkingRowCounter, 2).Range.Text = strttxtDefinitionAAW
        tblAppA.Rows(intrsttblAppendixAWorkingRowCounter).Range.Font.Color = 204
   End If
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VBA

From novice to tech pro — start learning today.