Greetings to all experts,
I'm a novice in visual basic, hence i would like to seek some advices from the experts. I would appreciate if you can help me on this issue:
I have 2 excel workbooks, 1st will be EndUserFile.xls, and it have 3 columns of data as below:
Country Code Business Positions Company code
CC1 Manager
CC2 Admin Clerk
CC3 Officer
CC4 Manager
2nd workbook will be Lookup.xls file with the following data:
Country Code Company Code
CC1 ABC
CC1 CDE
CC1 FGH
CC1 JKL
CC2 KKK
CC2 LLL
CC3 001
CC3 002
CC3 003
And my requirement using macro is:
When we filter Country code = "CC1" in EndUserFile.xls , upon clicking a button, the values of company codes (e.g.ABC,CDE,FGH,JKL) for country code e.g. "CC1" from Lookup.xls is copied and these values are updated back to the company code column in EndUserFile.xls
Experts, pls kindly guide me.
Feel free to clear any doubts with me.
Thanks a millions
Best Regards,
htoh2
I'm a novice in visual basic, hence i would like to seek some advices from the experts. I would appreciate if you can help me on this issue:
I have 2 excel workbooks, 1st will be EndUserFile.xls, and it have 3 columns of data as below:
Country Code Business Positions Company code
CC1 Manager
CC2 Admin Clerk
CC3 Officer
CC4 Manager
2nd workbook will be Lookup.xls file with the following data:
Country Code Company Code
CC1 ABC
CC1 CDE
CC1 FGH
CC1 JKL
CC2 KKK
CC2 LLL
CC3 001
CC3 002
CC3 003
And my requirement using macro is:
When we filter Country code = "CC1" in EndUserFile.xls , upon clicking a button, the values of company codes (e.g.ABC,CDE,FGH,JKL) for country code e.g. "CC1" from Lookup.xls is copied and these values are updated back to the company code column in EndUserFile.xls
Experts, pls kindly guide me.
Feel free to clear any doubts with me.
Thanks a millions
Best Regards,
htoh2