![]() |
#1
|
|||
|
|||
![]()
Hi, in my Word documents the dashes are either character code 2013 or 002D.
The code below only looks for code 2013. I would like to add an additional line of code to include code 002D but not sure how to include this - can anybody help/advise at all, thanks. Code:
Case InStr(oRngEval, " - ") = 1 'highlights if cross refs separated by a dash and space either side e.g. clause 1 - 2 oRng.Move wdCharacter, 3 lngOffset = 3 |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
SamDsouza | Word VBA | 3 | 03-12-2020 04:49 AM |
![]() |
steveflooks | Word | 1 | 07-19-2018 02:52 PM |
![]() |
branko | Word VBA | 1 | 03-28-2017 11:50 PM |
Is it possible to include a newline character in the replace text | desgordon | Word | 2 | 09-14-2012 02:28 AM |
![]() |
Bobosmite | Word | 2 | 05-06-2011 04:21 AM |