Search results

  1. T

    Importing a table without knowing its name?

    I figured out how to import a table using VBA like so: Private Sub Command0_Click() Dim dr As String dr = Dir("F:\SomeFolder\*.mdb", vbDirectory) DoCmd.TransferDatabase acImport, "Microsoft Access", "F:\SomeFolder\" & dr, acTable, "Table", "Table2" End Sub This was just a test...
Back
Top Bottom