A family of Microsoft relational database management systems designed for ease of use.
Scott,
It is definitely that section of code that is causing the problem. What exactly are you trying to do? Might have to rethink that section of code because it does not work consistently.
I also noticed your use of Reserved Words... Type and Reference, never a good idea.
HOWEVER, it runs perfectly in Access 2010, so it's definitely an Access 2013 issue and I truely don't know why.
EDIT: Okay, it's late and I have a meeting tomorrow. So, I'll play with this some more tomorrow during breaks!