View Single Post
 
Old 01-30-2017, 11:05 AM
aramaglia aramaglia is offline Windows 7 64bit Office 2016
Novice
 
Join Date: Jan 2017
Posts: 8
aramaglia is on a distinguished road
Default

Apparently the dot at the end of the text is the character for table end, which is showing up when i call the cell text. There is another character at the end too which I'm guessing marks the end of the cell. To workaround this I used the Left() function to eliminate the last 2 characters of the string:

Code:
QN = Left(ThisDocument.Tables(1).Cell(2, 2).Range.Text, Len(ThisDocument.Tables(1).Cell(2, 2).Range.Text) - 2)
Reply With Quote