Forum Discussion

MF Wong's avatar
MF Wong
Brass Contributor
Feb 24, 2018

Personal Macro behaves differently??

Hi there,

I encountered something strange recently. 

I have few lines of macro for adding name to a cell on multiple worksheets.  It worked fine.  Then I copied the codes to my Personal Macro for future use.  However when I run the same codes in my Personal Macro, it did not work...

The codes worked again when I put it back to a workbook's modules.  How would that be? 

I am so confused.  Appreciate your advice on it.  

Thanks. :)

  • Haytham Amairah's avatar
    Haytham Amairah
    Silver Contributor

    When you copied the codes to the Personal Macro Workbook, did you put them in a module or in a worksheet code space?

     

    Please make sure to create a module in the Personal Macro Workbook and copy the codes in it!

    • MF Wong's avatar
      MF Wong
      Brass Contributor
      Thanks for pointing me to this direction. I will try and see. :)

Resources