I'm using a macro in Access 2016 to import an excel file. The user inputs the filename into a text box on a form and I need to pass that name to the field name the ImportExportSpreadsheet step in the macro. It seems no matter how I format the name of the form/field it doesn't work. I've tried [forms]![formname]![filename] but the macro says it can't find the file and generates a 2950 error.