I have a VBA macro that kicks off a SQL Server stored procedure. During development all was well, until we added code to the stored proc to take a before/after snapshot of changes made. Without modifying the VBA macro, if we remove the CREATE TABLE code, the macro works fine. If we include it, it crashes with an 8004E021 error. We've tried creating the table both in memory and on disk; behavior is the same.
Is there a setting on SQL Server, or in Excel/VBA that we're missing?
Is there a setting on SQL Server, or in Excel/VBA that we're missing?
Comment