I have the folowing snippet of code which I have been trying to adapt to reading in about 300 different words from a range into a variant.
Option Explicit
Option Compare Text
Sub Highlightnouns()
Application.ScreenUpdating = False
Dim myWords As Variant
;
;
' would be nice to be able to load from a range instead typing words into here
myWords = Array("Drill", "Filter", "oil", "seal", "Gearbox")
I have tried various ways to do this but none work,
tony
Option Explicit
Option Compare Text
Sub Highlightnouns()
Application.ScreenUpdating = False
Dim myWords As Variant
;
;
' would be nice to be able to load from a range instead typing words into here
myWords = Array("Drill", "Filter", "oil", "seal", "Gearbox")
I have tried various ways to do this but none work,
tony