Can anyone help me with some example code that extracts data from an Acces table, then when changed in Excel, an example of code to write the data from Excel back to Access.
You are allowed to cross-post here, but we ask that you indicate that you have cross-posted and provide links to each thread in the other. I update your other thread. Here is the link for this one here: http://www.mrexcel.com/forum/showthread.php?t=566753
Regarding your question, there have been numerous threads here over the years about updating data between Access and Excel (you should be able to find some by searching the forums). But the first question I would ask is, is it really necessary? Is it possible to do it all in Access instead, and avoid Excel altogether?
My apologies for the cross post I wasn’t aware of the need to note the cross post. <?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o></o> Joe, as I think you know from an earlier thread, I'm new to Access, but have done a lot of VAB work in Excel. <o></o> You are probably correct about doing it all in Access, but at present I'm experimenting. <o></o> I really would be grateful for some example codes.<o></o> <o></o> <o></o>
We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel
Which adblocker are you using?
Disable AdBlock
Follow these easy steps to disable AdBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the icon in the browser’s toolbar. 2)Click on the "Pause on this site" option.
Go back
Disable AdBlock Plus
Follow these easy steps to disable AdBlock Plus
1)Click on the icon in the browser’s toolbar. 2)Click on the toggle to disable it for "mrexcel.com".
Go back
Disable uBlock Origin
Follow these easy steps to disable uBlock Origin
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.
Go back
Disable uBlock
Follow these easy steps to disable uBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.