creative-2008
Weaksauce
- Joined
- Dec 23, 2008
- Messages
- 100
I'm working on a spreadsheet in Excel with three workbooks. The first two contain forms for the user to input data and the third displays the results and allows the results to be printed. This is working as I wish at the moment, but I would like to extend it's functionality by exporting the data from the third workbook into an Access table.
I have googled this extensively but haven't been able to find working code that will satisfy my situation, or even anything that I can adapt. This is the first project that I've attempted in Excel, and I realise that in trying to export data to Access I'm in slightly over my head.
I have four cells that I want to export to Access: text, an integer, the date, and a time in minutes and seconds. I have therefore created an access database with the four appropriate fields, and also a fifth for a unique ID (which I understand access will handle.)
I'm looking for some VBA code that can be run by pressing a button and will export the four cells into Access. At the moment the cells are between J1 and J4 in one Workbook.
Does anyone know of a tutorial that I can follow to achieve this? Or of any code that I can make basic edits to?
Any help will be greatly appreciated because I know that I am asking for quite a lot, and appreciate that I am slightly out of my depth. I've come really far in this project though, though advice on HF and Googling, and would be pleased to put the finishing touches on this project.
I have googled this extensively but haven't been able to find working code that will satisfy my situation, or even anything that I can adapt. This is the first project that I've attempted in Excel, and I realise that in trying to export data to Access I'm in slightly over my head.
I have four cells that I want to export to Access: text, an integer, the date, and a time in minutes and seconds. I have therefore created an access database with the four appropriate fields, and also a fifth for a unique ID (which I understand access will handle.)
I'm looking for some VBA code that can be run by pressing a button and will export the four cells into Access. At the moment the cells are between J1 and J4 in one Workbook.
Does anyone know of a tutorial that I can follow to achieve this? Or of any code that I can make basic edits to?
Any help will be greatly appreciated because I know that I am asking for quite a lot, and appreciate that I am slightly out of my depth. I've come really far in this project though, though advice on HF and Googling, and would be pleased to put the finishing touches on this project.