Macro doesn't run

Hi all,

     I am facing a weird problem here.

     I have written a simple macro to delete the existing BOM & to insert new BOM in the drawing. It was working very well till yesterday. Now, its not working on some specific drawings only (even shortcut doesn't work ). But, if i edit the macro & run from F5, it works.

    I restructured the macro (only one module & one procedure), but no use.

   Also, other macros are running on same drawing.

Can anybody help me out?

SolidworksApi macros