I am new to VBA and VBS. I was trying to implement a version control for my Access and stumbled upon this StackOverflow post. I googled as much as I could to understand the code and now I understand about 50 percent of the code. I don't want to ask how the entire code works because I should figure it out myself. However, there are parts which I did not find in google.
Why are these lines of code necessary?
const acForm = 2
const acModule = 5
const acMacro = 4
const acReport = 3
P.S. I have successfully implemented this code. I just wanted to understand a bit more.