Hello everyone... I am attempting to come up with a code to do the following . Any thoughts/guidance would be much appreciated!
On Source_Sh ("SOURCE"):
On Dest_Sh ("DESTINATION"):
EXAMPLE:
Source_Sh
"New Heading 1" ..... E9
"New Heading 2" ..... E10
As a result.... $I$23 = 2
Dest_Sh
(before code)
[TABLE="width: 328"]
<tbody>[TR]
[TD]Column A
[/TD]
[TD]Column
B
[/TD]
[TD]Column
C
[/TD]
[TD]Column D
[/TD]
[/TR]
</tbody>[/TABLE]
(after code)
[TABLE="width: 456"]
<tbody>[TR]
[TD]Column A
[/TD]
[TD]<new 1="" Heading="">Column B</new>
[/TD]
[TD]<new 2="" Heading="">NEW HEADING 1</new>
[/TD]
[TD]NEW HEADING 2
[/TD]
[TD]Column C
[/TD]
[TD]Column D
[/TD]
[/TR]
</tbody>[/TABLE]
On Source_Sh ("SOURCE"):
- In column E (from row 9+)...I have a list that the user will input values - which will become column headings
- In cell $I$23 I have a count of how many values are inserted into this range ("N")
On Dest_Sh ("DESTINATION"):
- I need to insert "N" columns between column B and column C
- Then I need to copy the list from column E on Source_Sh, transpose and paste values into row 1 of Dest_Sh...in the columns that were just added between column B and (former) column C
EXAMPLE:
Source_Sh
"New Heading 1" ..... E9
"New Heading 2" ..... E10
As a result.... $I$23 = 2
Dest_Sh
(before code)
[TABLE="width: 328"]
<tbody>[TR]
[TD]Column A
[/TD]
[TD]Column
B
[/TD]
[TD]Column
C
[/TD]
[TD]Column D
[/TD]
[/TR]
</tbody>[/TABLE]
(after code)
[TABLE="width: 456"]
<tbody>[TR]
[TD]Column A
[/TD]
[TD]<new 1="" Heading="">Column B</new>
[/TD]
[TD]<new 2="" Heading="">NEW HEADING 1</new>
[/TD]
[TD]NEW HEADING 2
[/TD]
[TD]Column C
[/TD]
[TD]Column D
[/TD]
[/TR]
</tbody>[/TABLE]
Last edited: