I tried to look at what you had done but I need an MDB.
I am rapidly coming to the conclusion that it is time for me to give up, more and more I am out of date. I retired 7 years ago and only use Access on the forum so what little knowledge I had is fading and becoming dated, I doubt that I will fork out the price for Access when I replace my old PC (circa2002).
John
I had a master at my grammar school who said
"There is knowledge and there is knowledge of the knowledge , the latter is just as important"
An analogy for us is that you know a function or code example you can look it up
It is better to know that DSum, Dmax, DLookup etc exist rather than just know all about say DLookup
You knew that code existed borrowing it is just progress.