You say you've created an ADODB connection to the spready - I'll assume then that you've created a recordset object based on the data in the spready that you want to xfer to Access. All you need to do now is create an ADODB recordset based on the table in Access that you want to append to and...
Have a look at the API function GetTickCount. I've even used this to make Excel 'sing' by using it "in concert", so to speak, with the Beep command. I've found it as good a way as any when it comes to timing.
HTH
I have a need to do the exact same thing. If user opens with disabled macors all they see is a sheet asking them to quit and enable macros. When enabled, the open process unhides all of the 'very hidden' sheets. The workbook open process then writes out the user info to a text file I have...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.