I have excel.xls spreadsheets that I would like to automatically select and append to existing Users.mdb databases. Sometimes there may only be 1 addition to one of the Users.mdb and it could add up to 500 more records. The Excel data must be imported because the program that originally accessess Users.mdb will not recognise them if they are linked. The company that wrote the original program accessing Users.mdb is now defunct and operates door controllers. The data type cannot be changed to the newer .accdb format.
Users.mdb has UserID which is an Autonumber field. How can I look for the last record in Users.mdb then append to the Users.mdb with a VBA and add to the end continuing from the last number? I am Manually doing this now through MS Access using append to file doing a lot of back and forth to check last record and change the UserID in excel before I do the transfers. I would like to automate this with a VBA. I am already using VBA in excel to rearrange the excel to the proper format for Access. Should this be done from Access 2010 or Excel 2010? For some reason I can't get the Developer tab to work no matter what I do in Access 2010.
Also If I want to select a Users.mdb database to import to, and the Excel file to export from is there a way to select which one to update to and from a windows subdirectory?
I hope I am making sense with my questions.
Thank you in advance.
Users.mdb has UserID which is an Autonumber field. How can I look for the last record in Users.mdb then append to the Users.mdb with a VBA and add to the end continuing from the last number? I am Manually doing this now through MS Access using append to file doing a lot of back and forth to check last record and change the UserID in excel before I do the transfers. I would like to automate this with a VBA. I am already using VBA in excel to rearrange the excel to the proper format for Access. Should this be done from Access 2010 or Excel 2010? For some reason I can't get the Developer tab to work no matter what I do in Access 2010.
Also If I want to select a Users.mdb database to import to, and the Excel file to export from is there a way to select which one to update to and from a windows subdirectory?
I hope I am making sense with my questions.
Thank you in advance.