VBA Code

ziad alsayed

Well-known Member
Joined
Jul 17, 2010
Messages
665
dear all

with the below data, how can i copy the Word highlightted in yellow and copy it to the cells highlighted in red.

of course number of Rows varies.

Appreciate any help
Excel Workbook
ABC
1CodeDescription
2Port Harcourt
341111000244111100024 1 FELPET NIG LTD
441911093294191109329 1 SARATU SHEKARI
541911093344191109334 1 STERLING BANK GRA P60
641911093354191109335 1 STERLING BANK FEGGE ONISHA
741911108234191110823 1 FCMB PHC - P100KVA
841911108244191110824 1 MINTEL FARMS LTD - P60
941911108254191110825 1 SONGHAI RIVERS - P250
10TOTAL OF Port Harcourt
11APAPA Branch
1241112011294111201129 1 JMG LTD
1341112012174111201217 1 AMARACHUKWU OKOGBUE
1441917022054191702205 1 BEST BUY
1541917022334191702233 1 ASSENE NIG LTD
1641917022354191702235 1 KNEIPE NIG LTD -250KVA
1741917022594191702259 1 REAR ADMIRAL AGBEJE
1841917022664191702266 1 HASSAN FAWAZ
1941917024564191702456 1 FLUID MANAGEMENT-P22KVA
2041917024724191702472 1 SIFAX GROUP LTD-P40KVA GEN 2
2141917024744191702474 1 NIYI OPEODU
2241917024774191702477 1 FOUANI NIG. LTD - P500KVA
2341917024814191702481 1 MR. SMART EGBEOBAWAYE
2441917024854191702485 1 YOMI SHO - SIL
2541917028144191702814 1 STERLING BANK PLC - TINCAN PORT (P40K
2641917028164191702816 1 MR. ADEYEMI ADENIYI
2741917028174191702817 1 HAYTHAM GHORAYEB
28TOTAL OF APAPA Branch
Sheet1 (14)
Excel 2010
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
My Apologies, it seems the HTml didn't generate the red color
i need to copy the yelow to column B where there is code in column A
 
Upvote 0

Forum statistics

Threads
1,224,522
Messages
6,179,297
Members
452,903
Latest member
Knuddeluff

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top