Hi there
I have created an excel worksheet template with a data table (4 columns) and a couple of buttons ($, %, Unit) to change the number formatting of columns 2-4 within that datatable. This works fine within the template.
The workbook is set up a menu of buttons to call upon different worksheet templates and this then makes a copy of the template to work with.
Now, once the above template worksheet has been copied and renamed, I can then decide whether the data entered in that table should be $, % or unit by pressing the appropriate buttons (which were created on the original template).
However, once the table worksheet has been copied, it seems that the table reference name has also change, so all of a sudden the buttons no longer work.
Code used:
Table3825 is the table name in the template, but the table in the new copy is now 38255! How would I be able to fix this as all future copies will have different table names? (NB the cell formatting of the first column in the table should always remain the same and should not be affected by the format change on subsequent columns)
Thank you!
Bookmarks