![]() |
|
#5
|
||||
|
||||
|
Quote:
Quote:
Quote:
Quote:
As for the code - Change: For Each Tbl In ActiveDocument.Tables to: For Each Tbl In Selection.Tables Change: If Val <> CDbl(Str) Then to: If Format(Val, "0.00") <> Format(CDbl(Str), "0.00") Then Insert: Code:
Else
.HighlightColorIndex = wdGray25
Code:
.HighlightColorIndex = wdYellow
End If
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Abbreviations Validation - Word
|
mrsandes | Word VBA | 17 | 04-16-2020 02:40 PM |
| Data Validation in Microsoft Word Template | BradleyCase | Word VBA | 1 | 07-16-2019 12:37 PM |
Automate Job application word doc to Excel (with data validation)
|
dylansmith | Office | 1 | 02-11-2018 12:58 PM |
| validation email address in word text filed | sameerahmad_P | Word VBA | 1 | 03-07-2014 02:59 PM |
| Forms -with validation | ubns | Excel | 1 | 05-04-2012 08:51 AM |