Forum Discussion

CarlJakobsson's avatar
CarlJakobsson
Copper Contributor
Oct 21, 2022

Difficulty matching cell values

Hello,

 

I have made a VBA macro that reads cell values into an array and compares with values in another array. If there is a match, an action is taken (not relevant). It works with some exceptions. Sometimes the values are identical but excel does not recognize it. Excel then shifts the value in the cell to one side. I then go in and do a manual control F search and can match the value. I have tried all sorts of cell formats, but I cannot solve the problem. 

Does anyone have a clue?

 

 

carl

6 Replies

Resources