The problem was that you had the macros in the worksheet module instead of a regular module. I moved the macros into Module3 and changed the 'Copy Data' button link to the new location of the macro. Your 'copydata' macro now runs and then calls the 'FillColumnsitbof' so both operations are run one after the other. If you want to run them separately, delete the line:
in the 'copydata' macro and assign the 'FillColumnsitbof' macro to a separate button. The attached file has all the changes. Hopefully, everything is OK now.![]()
Call FillColumnsitbof
![]()
Bookmarks