We have been using Word macros to create labels since Office XP.
Text is distributed in table cells. For example, a table on an A4 sheet has 11x27 cells.
The macros were migrated from Word XP to Word 2010 and now we have Word 2019.
The execution of the macros has been unbearably slow since 2019.
Measurements from today
15 year old PC with Windows, Office XP: 8 seconds
5 year old PC with Office 2010: 2 seconds
1 year old PC Windows 10, Office 2019 44 seconds
(we have> 20 PCs with Office 2019 and it's like this or worse for all of them)
The macro inserts the desired text into the individual cells one after the other.
Our macros are digitally signed with a trustworthy internal certificate.
Does anyone have any ideas how this can be improved?