We use the SaveAsText to export vba code from an access database to a textfile and put this file into an svn-database. See here: Extract VBA-Code from Access via C#
The problem is, that VBE (= the VBA Development enviroment) seems to change a lot of stuff in the background. For example:
xerrdesc = Err.Description
is changed to:
xerrdesc = Err.DESCRIPTION
in dozens of modules.
We where not able to find out why the VBE changes this. For us it looks quite random. Sometimes the stuff is changed to capital letters like in the example. Sometimes its changed to lowercase letter and so on.
The result is some kind of "noise" in the repository. There are a lot of changes we did not intend.
Is there a way to prevent the VBE from changing code in the background?