Hello everyone!
I am using the below code to link my Access db to excel and name the linked excel as "Tabelle1". After using the data from excel I want to remove this link and make free Access from excel. How should I do it through VBA ? Thank you for help
I am using the below code to link my Access db to excel and name the linked excel as "Tabelle1". After using the data from excel I want to remove this link and make free Access from excel. How should I do it through VBA ? Thank you for help
Code:
DoCmd.TransferSpreadsheet acLink, acSpreadsheetTypeExcel12Xml, "Tabelle1", "C:\Lotus\Newemp", False '<-- Sheet
CurrentDb.TableDefs.Refresh