A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
I can't be sure of what the problem might be. Your previous thoughts on re-installing excel might help.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am using latest version of excel through Office 365. I have recorded macros and now i am not able to run macros at all. I am not even able to see macro code (ALT+F11) that was saved on my modules under my personalworkbook. When I try to record a new macro I get message below. How can I fix this problem?
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
I can't be sure of what the problem might be. Your previous thoughts on re-installing excel might help.
I have renamed the file but still get syntax error. I get the message regardless of where I am storing the macro (i.e. This Workbook, New Workbook). I am using MS Excel 2016 version and am on Windows 7 Professional SP1.
Only a suggestion but it is possible that personal.xlsb is corrupted. Try re-naming personal.xlsb so that it does not open and then attempt to create a macro.
The only macros that you should create and save in personal.xlsb are those that you want almost every time you open Excel. Macros that are specific to particular workbooks should be in the same workbooks (or in another workbook that opens the specific workbook).
You have not competed the info on the post with your version of Excel and Windows so I can't be specific as to where you will locate personal.xlsb. However, the following site provides some information for various versions.
http://wheatblog.com/2011/08/where-is-the-excel-personal-macro-workbook-located/
Without seeing the code that you have then I cannot even guess what the problem might be.
Your comment *"I am not even able to see macro code (ALT+F11) that was saved on my modules under my personal workbook."*If you double click the module name in the Project Explorer (left column of the VBA editor) then you should see your macros. Also clicking the plus signs will expand the tree/s. From your picture, you should be able to open MdMyMacros or Module1 by double clicking. You should also be able to expand MicrosoftExcelObjects and VBAProject (Rentrack Canada .......) unless they are protected and require a password which could apply to MicrosoftExcelObjects.