DavyJones90
Board Regular
- Joined
- Feb 23, 2022
- Messages
- 62
- Office Version
- 365
- Platform
- Windows
Hey guys, thanks in advance.
I am trying to compare a value in a dictionary, but dictionary.exist will obviously not help me here. How do I do it? This is my code
Thank you all
I am trying to compare a value in a dictionary, but dictionary.exist will obviously not help me here. How do I do it? This is my code
VBA Code:
With sys
For Each Cl In .Range("A5", .Range("A" & Rows.Count).End(xlUp))
Dic(Cl.Value) = Cl.Offset(, 24).Value
Next Cl
End With
With Sarrows
For Each Cl In .Range("F6", .Range("F" & Rows.Count).End(xlUp))
If Dic.exists(Cl.Value) Then Cl.Offset(25, 4).Value = Dic(Cl.Value) 'This works perfectly
If Dic.exists(ChrW(&H2198)) Then Cl.Offset(26, 0).Value = "RANGE-Reverse All Arrows to " + ChrW(&H2191) 'This does nothing
If Dic.exists(ChrW(&H2197)) Then Cl.Offset(26, 0).Value = "RANGE-Reverse All Arrows to " + ChrW(&H2193) ' this does nothing
Next Cl
End With
Thank you all