Rowland Hamilton
Active Member
- Joined
- Nov 13, 2009
- Messages
- 250
Attempting to match acct #s on source sheet with account numbers on Template but the numbers on the source are = to the cell value while the numbers on the template are equal to finding the source cell value in the template. Let me explain with code.
Set Source value:
Set Template value:
When I get here:
I get a mismatch because
FirstIO = 3333333 and CheckIO = "3333333"
How do I make these 2 values Match?
Set Source value:
Code:
Set FirstIO = zfir.Range("e8")
Set Template value:
Code:
Set CheckIO = Range("Accounts").Find(IO, LookIn:=xlValues)
When I get here:
Code:
If FirstIO = CheckIO.Value Then
I get a mismatch because
FirstIO = 3333333 and CheckIO = "3333333"
How do I make these 2 values Match?