I've got this error in Microsoft Access. There isn't enough free memory to update the display. Close unneeded programs and try again.

It happens to me when Access is opened with a custom form and accessing the computer with Microsoft Remote Desktop Android app.
I found that deleting this VBA key in the registry solved it. After a Windows or Office update I had to delete it again.
HKEY_CURRENT_USER\Software\Microsoft\VBA