Hey all,
I'm trying to find a way to create some VBA code to help clean up and organize some data so I can create some reports. The data gets pulled in this format:
Call |
123456789 |
123456789 |
Sun, 12/19/2021, 2:35 pm |
0:02 |
0:09 |
Client Name here |
A No Answer. |
Call |
123456789 |
123456789 |
Sun, 12/19/2021, 2:35 pm |
0:02 |
0:09 |
Client Name here |
A No Answer. |
It's call data, and each set of call data is 8 rows, starting with the "Call" row. What I'm trying to do is copy the 7 rows of data below "call" and then paste them in the cell next to "Call" transposed so they string out across the columns. I've tried recording a macro ("TestMacro") of what I was doing, but it puts specific cell references in the code and doesn't work if I rerun the macro.
I thought I might be able to use ActiveCell and Offset to try to select the data but that doesn't seem to want to work either. Ideally, I'd like to create code that will go through and copy/transpose each set of data into it's own row and cycle through all data until it reaches EOF. Some of these data files are in excess of 500+ calls.
I've attached a sample workbook with a few sample records on Sheet1, and how I'd like everything to end up on Sheet2. If someone could point me in the direction of the right VBA commands to use I can try to write the code myself. I'm just not finding any help on Google and this was the first forum I came across on a search for Excel 2019 VBA forums.
Thanks!