I should add that the LISTNUM example I posted is based on the assumption that you don't have any "intervening" lists. If you do have more than one list, the simple solution I suggested will not work.
__________________
Stefan Blom
Microsoft Word MVP
Microsoft 365 apps for business
Windows 11 Professional
|