Avatar of ShawnGray

asked on 

Access accde vba run-time error 5

Migrated an Access 2003 mde database to accde.
A vba routine that worked in the mde fails in the accde at
   Set file = FS.GetFile(oldData)

With run-time error 5.
It's suppose to find the newest accdb file in a folder and make a copy and rename it.

Any suggestions on what's happening / how I can get it going again?
Thank you

Avatar of undefined
Last Comment
Gustav Brock

8/22/2022 - Mon