Dim データベース As New ADODB.Connection With データベース .Provider = "Microsoft.ACE.OLEDB.12.0" .Open ファイルのフルパスEnd With
データベース.Close Set データベース = Nothing
レコードセット.Close データベース.CloseSet レコードセット = NothingSet データベース = Nothing