View Single Post
 
Old 07-24-2024, 12:42 PM
B13 B13 is offline Windows 10 Office 2019
Novice
 
Join Date: Jul 2024
Posts: 3
B13 is on a distinguished road
Smile @gmaxey

This worked! I did make minor tweaks to the code you provided in case someone else is looking at this:

Dim oRng As Range
Dim strFind As String
vs
Dim oRng As Range Dim strFind As String 'on one line

and
strFind = myarray(i, 1)
vs
strFind = myarray(i) 'which returns a subscript out of bounds error

Thanks again, this is a lifesaver and will save a lot of formatting time in the future!
Reply With Quote