title: Access 2010 VBA Error 2425 "The expression you entered has a function name that database can't find"
body: <p>In Access 2010, I have an Autoexec macro that calls a function (not a sub, a function) called CloseAllToolbars().</p>
  
  <p>In the .MDB file, when I open it, it runs the function just fine.
  I Save &amp; Publish it to an .MDE, the .MDE runs the function just fine.
  I copy the .MDE across to a brand new laptop running Windows 10 without Office or Access installed. I have installed the Access Runtime 2010. My development PC is also Windows 10.</p>
  
  <p>When I run this MDE on the new laptop, it gives me the error message 2425 "The expression you entered has a function name that database can't find".</p>