Hi experts,
i'm a novice in vba and hope someone out there can assist me, thanks.
I would like to know how can i compare the values in the cells between 2 workbooks.
For eg.
in Enduser.xls, i have the following 2 columns :
Country code Business Positions
HH1 Manager
HH2 P Manager
In Lookup.xls, i have 2 columns of data:
Country code Company Code
HH1 CC1
HH1 CC2
HH1 CC3
HH2 CD1
HH3 CE3
So when i run the macro, it will check that IF country code in Enduser.xls & Country Code in Lookup.xls = "HH1" , then copy or store the values (CC1,CC2,CC3) in an array so later i can retrieve them.
Pls help
Thanks
Regards,
htoh2
i'm a novice in vba and hope someone out there can assist me, thanks.
I would like to know how can i compare the values in the cells between 2 workbooks.
For eg.
in Enduser.xls, i have the following 2 columns :
Country code Business Positions
HH1 Manager
HH2 P Manager
In Lookup.xls, i have 2 columns of data:
Country code Company Code
HH1 CC1
HH1 CC2
HH1 CC3
HH2 CD1
HH3 CE3
So when i run the macro, it will check that IF country code in Enduser.xls & Country Code in Lookup.xls = "HH1" , then copy or store the values (CC1,CC2,CC3) in an array so later i can retrieve them.
Pls help
Thanks
Regards,
htoh2