corentint
New Member
- Joined
- Jan 31, 2022
- Messages
- 32
- Office Version
- 365
- Platform
- Windows
Good day to all,
I have an Excel data base which is the basis for a rather complex and big userform VBA program (hereafter the "WB"); the Useforms enable the user to do everything on that data base. Normally, the user never has to touch, not even see, the data base.
I was fortunate to develop the whole thing using a numbered version history of the excel file, done automatically using VBA.
Since version 45, I have this untractable problem, yet classic and known (at least on the Excel/VBA websites, including this one). Nothing has helped yet.
The problem:
I can state:
My question, finally:
Can someone just list for me here the known causes of both problems (they maybe tied together) as per 1. and 2. above
AND
The remedies tried out.
Although I realised this is a tall order, anything at this point would help in reducing my hunting down this (...expletive deleted) problem!
A gratefull thank in advance.
PS: I do not think reinstalling my whole Office 365 suite is a solution, but then again...
Corentint
I have an Excel data base which is the basis for a rather complex and big userform VBA program (hereafter the "WB"); the Useforms enable the user to do everything on that data base. Normally, the user never has to touch, not even see, the data base.
I was fortunate to develop the whole thing using a numbered version history of the excel file, done automatically using VBA.
Since version 45, I have this untractable problem, yet classic and known (at least on the Excel/VBA websites, including this one). Nothing has helped yet.
The problem:
- When closing the WB, the VBA project stays open in the VBE window.
- Anything else I do with Excel causes, from time to time, the message "Not enough memory"; whether I open another Excel file, or the WB.
- After closing the WB and reopening it and then closing again (without shutting down Excel), only one instance of the project remains open in the VBE window. No properties can be accessed for this project.
I can state:
- There are no problems from the EnableEvents in the code (only one instance of this coding used, and it works and does never hang; besides, even if this short snippet of code is not called at all by a userform, my problem is still there); I also used the execute window to force EnableEvents = True at various stage of execution of the code).
- I have tried to set to nothing all objects upon closing (a tedious job of coding); this did nothing to solve the problem.
My question, finally:
Can someone just list for me here the known causes of both problems (they maybe tied together) as per 1. and 2. above
AND
The remedies tried out.
Although I realised this is a tall order, anything at this point would help in reducing my hunting down this (...expletive deleted) problem!
A gratefull thank in advance.
PS: I do not think reinstalling my whole Office 365 suite is a solution, but then again...
Corentint