Forum Discussion
zeevbngmailcom
Jan 29, 2023Copper Contributor
Excel 2021 error 75
I have been using an excel file for a long time, under Office 2016 and Office 2019. This file contains a VB module. I have transferred to Office 2021, and now the file does not work correctly: I c...
zeevbngmailcom
Jan 31, 2023Copper Contributor
JKPieterse
Jan 31, 2023Silver Contributor
- zeevbngmailcomJan 31, 2023Copper Contributor
- JKPieterseJan 31, 2023Silver Contributor
OK, looks as if the VBA project of the file is corrupted. You can fix it as follows:
- Open the current file
- Save-as, select file type xlsx
- Click Yes to the prompt that you'll lose the code
- Close the newly saved file
- Now open both your new xlsx and your old xlsm file
- Open the VBA editor
- Double-click Sheet1 in the xlsM project
- Select all code in the window and hit control+c
- Double-click Sheet1 in the xlsX project
- Paste in the new window
- Repeat steps 7-10 for all other worksheets
- Repeat steps 7-10 for ThisWorkbook
- Drag any modules, userforms and class modules from the xlsm to the xlsx file
- Close the VBA editor
- Save-as the xlsx file to Excel workbook with macros.
- zeevbngmailcomJan 31, 2023Copper ContributorFollowed religiously your steps.
Same error...