Skip to content
Advertisement

Import an Excel Sheet with File Dialog in Access

I have a splitform where I want a button to choose and import a file into a table.

I have something like this:

I set the reference to Microsoft Office 16.0 Object Library.

When I tried using this button there was this error:

Method ‘FileDialog’ of object ‘_Application’ failed.

Advertisement

Answer

I copied Albert Kallal’s answer found here: It does not require any reference.

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement