Cheers Roy.
One small problem. When I ahev the line: oConn.open after the oConn.connection.string, I get the error message "Operation is not allowed when the object is closed".
SO I moved the oConn.open line above the other line and the error message then read "Data source name...
Does anyone know how I can send variables extracted from userform textboxes in XL to an Access database and enter them in the relevant fields of a new record? Can you create a DDE connection between XL and Access?
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.