Macros Removed in Excel

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rajujrk
    New Member
    • Aug 2008
    • 107

    Macros Removed in Excel

    Hi,

    I created a macro, and i created the VBA project i added one customized function in a Module(Module1) in Excel 2010.
    I saved that excel and the VBA Project, i tested in the excel, its works fine. once i closed the excel and the VBA project is automatically closed

    THe problem is, I opened the same excel file again, i am trying to use the function, excel shows an error. Immediately I went to View Macros, my macro is not there.

    How to set/run the macro in excel2010 even i closed and reopened the excel
  • MikeTheBike
    Recognized Expert Contributor
    • Jun 2007
    • 640

    #2
    Hi

    I still use Excel 2003 but I understand that if you save your file as an xlsx file then all code is removed. The file should be saved as an xlsm Macro Enabled file (at lest that is the case for Excel 2007).

    Is that the problem ???

    MTB

    Comment

    • rajujrk
      New Member
      • Aug 2008
      • 107

      #3
      Yes, thats the Problem, I got it

      Thanks... :)

      Comment

      Working...