Let us imagine that in ListObject
table rows there are some strings or some patterns I would like to find, and if found I would like to format the entire row. My example may be a dump from a recordset via VBA and ACE OLEDB into an excel ListObject
table and I would like to format it:
col1 | col2 | col3 | col4
-----+-----------+---------------+----------
1. | empty | AAA |
2. | empty | AAA001value | value
3. | empty | AAA002value | value
4. | Total | desc | value
5. | empty | BBB |
6. | empty | BBB001value | value
7. | empty | BBB002value | value
8. | Total | desc | value
For instance I would like to
- Bold the entire row in table where the word Total shows up.
- Insert a row above where the ???, three letters string denoting a group shows up.
I would probably manage to come up with the code operating on a standard non ListObject
table and add rows for the entire worksheet but I have no idea how to search and change rows in ListObject
Table.