VBA Question

prkhr

New Member
Joined
Jan 24, 2018
Messages
1
Hi

I need help in VBA coding

I have region wise different excel worksheets and on each sheet in column D there are some comments and in Column E and F I have values against which there are certain headers in column H

Now I want to collect all the comments from column D and values from column E and F and populate it in a new sheet region wise and append it under different headers which are there in column H

so that all the comments are placed vertically region wise under different headers

[TABLE="width: 740"]
<tbody>[TR]
[TD]Contract/Product/Region[/TD]
[TD]On Off[/TD]
[TD]On Off[/TD]
[TD]Tranding [/TD]
[TD]Tranding [/TD]
[TD]Contra[/TD]
[TD]Contra[/TD]
[TD]timing[/TD]
[TD]timing[/TD]
[TD]Comments[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD]Column E[/TD]
[TD]Column F[/TD]
[TD]Column E[/TD]
[TD]Column F[/TD]
[TD]Column E[/TD]
[TD]Column F[/TD]
[TD]Column E[/TD]
[TD]Column F[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]east[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Column D[/TD]
[/TR]
[TR]
[TD]west[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Column D[/TD]
[/TR]
[TR]
[TD]north [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Column D[/TD]
[/TR]
[TR]
[TD]south[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Column D[/TD]
[/TR]
</tbody><colgroup><col><col span="8"><col></colgroup>[/TABLE]
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

Forum statistics

Threads
1,226,731
Messages
6,192,716
Members
453,749
Latest member
learningexcelthankyou

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