use one macro in different excel files

前端 未结 5 1771
我寻月下人不归
我寻月下人不归 2021-02-03 15:23

I wrote a macro, which I would like to use in different excel files, which have almost the same table structure but different data.

So is it possible anyhow just to \"in

5条回答
  •  無奈伤痛
    2021-02-03 16:09

    If the personnal.xls solution does not suit your needs, you can just save the macro(s) to an Excel workbook, and ask the users to have it loaded (open) while working in the "other" document.
    You might need to correct your macro in that case. eg: replace Thisworkbook by Activeworkbook.

提交回复
热议问题