M
Mike Archer
Hello - I used the following to set a variable equal to a whole document:
WholeDocumentString = ActiveDocument.Sections(1).Range
That works just fine... but I need to remove all non whitespace and all
non-keyboard characters. I use this:
WholeDocumentString = Replace(JavaScriptArray, Chr(9), " ")
WholeDocumentString = Replace(JavaScriptArray, Chr(10), " ")
WholeDocumentString = Replace(JavaScriptArray, Chr(13), " ")
That works fine for linefeeds, carriage returns, and tabs. But there are
still some unknown characters from a table. These characters occur where the
table columns are located. How do I replace those with a space?
WholeDocumentString = ActiveDocument.Sections(1).Range
That works just fine... but I need to remove all non whitespace and all
non-keyboard characters. I use this:
WholeDocumentString = Replace(JavaScriptArray, Chr(9), " ")
WholeDocumentString = Replace(JavaScriptArray, Chr(10), " ")
WholeDocumentString = Replace(JavaScriptArray, Chr(13), " ")
That works fine for linefeeds, carriage returns, and tabs. But there are
still some unknown characters from a table. These characters occur where the
table columns are located. How do I replace those with a space?