Copying content from a row to another blank row

YUAN_DUMALE

New Member
Joined
Oct 23, 2014
Messages
11
Please help on creating a macro for my issue below:

EX:

Copy content of upper row to the next two row if Column "W" has a value of " (Employee + 1 Dependent).

Content of rows to be copied must start from Column "X" moving forward

You can also refer below:

Benefit NameCore EntitlementPlan SelectedBenefit Effective Date (mmm/dd/yy)Dependent Code (Dep 1)Certificate No. / HKID Card No. (Dep 1)Surname (Dep 1)Given Name (Dep 1)Date of Birth (Dep 1)Sex (Dep 1)
Medical Insurance (Hong Kong)Core (Employee Only)Core (Employee + 1 Dependent)Jul/01/15SpouseD006816(1)TammRaymond PaulSep/07/52Male
Health Assessment (Hong Kong)#REF!Health Assessment (Employee + 1 Dependent)Jul/01/15
Dental (Hong Kong) Dental Insurance (Employee Only)Jul/01/15

<colgroup><col width="64" span="10" style="width:48pt"> </colgroup><tbody>
</tbody>




Thank you so much in advance

<colgroup><col width="64" span="10" style="width:48pt"> </colgroup><tbody>
</tbody>
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

Forum statistics

Threads
1,214,826
Messages
6,121,792
Members
449,048
Latest member
greyangel23

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