A module is "stuck" cannot be removed, and causes a "file not found error" on execution of any VBA code

AnnaHansen

Board Regular
Joined
Oct 27, 2014
Messages
58
Hi All,

I have been working on making changes to a database that I work with. I deleted a module from the live copy, and exported in the same module from my backup that I have created my changes in.

Now, anytime I try to execute code, I get a "File not Found" error. No option to debug.

I have tried to remove the module (right click, "Remove xxxx...") but again it says "File not found"

If I try to write any code anywhere in VBA in this project, it says "this action will reset your project. Proceed?" I say yes, and then it says "Can't perform requested operation"

I have tried closing out of the database and restarting my computer, but it made no difference.

Any ideas?
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

Forum statistics

Threads
1,214,863
Messages
6,121,978
Members
449,058
Latest member
oculus

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top