Make duplicate lines if "B" Column Cell Values have more than one Comp Value, then Update Comp as per Records by line

Guna13

Board Regular
Joined
Nov 22, 2019
Messages
70
Office Version
  1. 365
Platform
  1. Windows
I am a newbie to VBA. I need to create multiple same line based on If The Condition of **“B”** column has Cell-Value more than one Company Values.

Insert one row below the active row, and paste the values of the recently copied cells into the new blank row. Then Update Comp Values by row.

I will appreciate being taught how to only copy certain cells of active rows to paste below. is it Doable in VBA Macro??? - Thank you.

Column "B" Value in below Format

1. PCBA_ISRAEL_400

2. PCBA_ISRAEL_400 PCBA_ISRAEL_400;#PCBA_ISRAEL_T_400

3. PCBA_ISRAEL_T_400

4. PCBA_ISRAEL_400;#PCBA_ISRAEL_T_400;#ISR_CORP_SERV_400;#DSN_ISRAEL_400

5. PCBA_ISRAEL_400;#PCBA_ISRAEL_T_400;#ISR_CORP_SERV_400;#DSN_ISRAEL_400

6. PCBA_ISRAEL_400
 

Attachments

  • Multiple Line create.PNG
    Multiple Line create.PNG
    64 KB · Views: 3

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

Forum statistics

Threads
1,216,102
Messages
6,128,852
Members
449,471
Latest member
lachbee

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