I have one "release" button which: assigns numbers to specific cells, counts numbers, creates PDF documents, makes history stamps and so on.
I need to automatically generate buttons based on number value with different macros.
For example:
If target cell value = 4, then create 4 buttons with assigned macro 1, 2, 3, 4.
If value = 5, then create 5 buttons and assign macro 1, 2, 3, 4, 5 and so on.
Every assigned macro will be different. (Max count of buttons should be 20.)