Jimbob2000
New Member
- Joined
- Jun 27, 2019
- Messages
- 25
I have a database that produces reports about tests taken by students all on one row. The data always includes a test name, test date, and one or more scores. E.g.:
<tbody>
</tbody>
Sometimes there five or six tests, each with five or six scores.
We run these reports all the time and it would be really convenient to fix the data using a macro rather than by hand. I'm looking for a way to use VBA to convert this data into a table that looks like this:
<tbody>
</tbody>
It's tricky because the number of scores for each test can vary. Any help you can provide would be very greatly appreciated!
Test | Date | Algebra | Geometry | Arithmetic | Test | Date | Spelling |
Math | 2/2/2019 | 40 | 50 | 60 | English | 2/5/2019 | 70 |
<tbody>
</tbody>
Sometimes there five or six tests, each with five or six scores.
We run these reports all the time and it would be really convenient to fix the data using a macro rather than by hand. I'm looking for a way to use VBA to convert this data into a table that looks like this:
Test | Date | Algebra | Geometry | Arithmetic |
Math | 2/2/2019 | 40 | 50 | 60 |
Test | Date | Spelling | ||
English | 2/5/2019 | 70 |
<tbody>
</tbody>
It's tricky because the number of scores for each test can vary. Any help you can provide would be very greatly appreciated!