tparmbru22
New Member
- Joined
- Sep 7, 2017
- Messages
- 15
I'm looking for help in creating a macro that can extract select column information and create new rows data but still keep the identifying information. Not all columns will have information and I only want to extract those that have data.
Below is an example of the survey data.
<colgroup><col span="3"><col><col><col><col><col></colgroup><tbody>
</tbody>
Below is how I'd like the macro output to look.
<colgroup><col><col><col><col><col><col></colgroup><tbody>
</tbody>
Any help is greatly appreciated.
Below is an example of the survey data.
Date | Store | Name | Type | IT | Staffing | Freight | Construction |
1/1/2019 | 123 | Joe | New | Comp Issue | Missing Freight | ||
2/1/2019 | 234 | Mike | Reopen | Comp Issue | Short Staff | ||
3/1/2019 | 345 | John | New | Short Staff | Delay Construction | ||
4/1/2019 | 456 | Mary | Expansion | Missing Freight | Delay Construction |
<colgroup><col span="3"><col><col><col><col><col></colgroup><tbody>
</tbody>
Below is how I'd like the macro output to look.
Date | Store | Name | Type | Issue | Details |
1/1/2019 | 123 | Joe | New | IT | Comp Issue |
1/1/2019 | 123 | Joe | New | Freight | Missing Freight |
2/1/2019 | 234 | Mike | Reopen | IT | Comp Issue |
2/1/2019 | 234 | Mike | Reopen | Staffing | Short Staff |
3/1/2019 | 345 | John | New | Staffing | Short Staff |
3/1/2019 | 345 | John | New | Construction | Delay Construction |
4/1/2019 | 456 | Mary | Expansion | Freight | Missing Freight |
4/1/2019 | 456 | Mary | Expansion | Construction | Delay Construction |
<colgroup><col><col><col><col><col><col></colgroup><tbody>
</tbody>
Any help is greatly appreciated.