Hi,
This is what I want to do:
1. I have a split form with a button. When I click the button, the table should open in a newly created excel file.
2. The user will make some changes to the data.
3. At this time, a pop-up box will appear in the access window saying something like, "Do you want to save the changes you have made in excel?"
4. If the user says OK, the data in the existing table will be deleted and the table that is open in excel will be copied over to access.
I have pieced together how to do steps 1 and 3. In step 4, I know how to delete the data and how to bring the excel data into access. But my code depends on me knowing the name and location of that excel file. This is where I am stuck. Can you help me with this? Like do you know where the temporary file is stored? Or any other ideas? Which is the best approach?
Thanks in advance
This is what I want to do:
1. I have a split form with a button. When I click the button, the table should open in a newly created excel file.
2. The user will make some changes to the data.
3. At this time, a pop-up box will appear in the access window saying something like, "Do you want to save the changes you have made in excel?"
4. If the user says OK, the data in the existing table will be deleted and the table that is open in excel will be copied over to access.
I have pieced together how to do steps 1 and 3. In step 4, I know how to delete the data and how to bring the excel data into access. But my code depends on me knowing the name and location of that excel file. This is where I am stuck. Can you help me with this? Like do you know where the temporary file is stored? Or any other ideas? Which is the best approach?
Thanks in advance