Error with Macro and Excel Spreadsheets

I am having issue using macro and Excel spreadsheets.
I wrote macro with worksheet that will verify if the field for status was changed and if so, the following column will be replaced with the present date. I was unable to make it work when copying the workbook to a shared drive.
And when trying to start Excel, it won’t open and send an error that it encountered a problem and needs to close. I'm not quite sure why I got this error so if someone knows the reason behind it, please send me some advices.
I posted the error report contents.
Thank you.

Exception Information
Code: 0xc0000005
