Using a VBA script in Excel, I\'m trying to insert a new row into a table and then get back the identity value of that row. If I run:
In your rs.Open Try this
rs.Open SQLStr, cn, adCmdText