How to Transfer data From one sheet to relevant sheets.

Dilusha

Board Regular
Joined
May 5, 2012
Messages
58
[TABLE="class: grid, width: 100"]
<tbody>[TR]
[TD]Cus_Code
[/TD]
[TD]Inv. No
[/TD]
[TD]Date
[/TD]
[TD]Rs
[/TD]
[/TR]
[TR]
[TD]CDD
[/TD]
[TD]V4525
[/TD]
[TD]21/8/2018
[/TD]
[TD]1525
[/TD]
[/TR]
[TR]
[TD]CDD
[/TD]
[TD]V4531
[/TD]
[TD]5/8/2018
[/TD]
[TD]1522
[/TD]
[/TR]
[TR]
[TD]CFF
[/TD]
[TD]V2547
[/TD]
[TD]11/8/2018
[/TD]
[TD]4522
[/TD]
[/TR]
[TR]
[TD]GHB
[/TD]
[TD]V1478
[/TD]
[TD]25/5/2018
[/TD]
[TD]3256
[/TD]
[/TR]
[TR]
[TD]GHB
[/TD]
[TD]V2358
[/TD]
[TD]31/8/2018
[/TD]
[TD]2563
[/TD]
[/TR]
</tbody>[/TABLE]

I have above table in sheet1(start from A1) and I have inserted sheets by name of Cus_code in same work book.
The inserted sheets have same table (starting A1). I want a macro to transfer data from sheet1 to relevant sheets.
Eg.
[TABLE="class: grid, width: 50"]
<tbody>[TR]
[TD]No
[/TD]
[TD]Inv.No
[/TD]
[TD]Date
[/TD]
[TD]Rs
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]V1478
[/TD]
[TD]25/5/2018
[/TD]
[TD]3256
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]V2358
[/TD]
[TD]31/8/2018
[/TD]
[TD]2563
[/TD]
[/TR]
</tbody>[/TABLE]

This Table should be created in sheet GHB .
Table headings already created.
But Serial No (I.e 1,2,3) Should be generated automatically.

I Use excel 2007
pls help me .
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Forum statistics

Threads
1,223,162
Messages
6,170,432
Members
452,326
Latest member
johnshaji

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