Thread
:
SQL ADODB.RecordSet Error 91
View Single Post
04-30-2012, 04:36 AM
Colin Legg
Windows 7 32bit
Office 2010 32bit
Expert
Join Date: Jan 2011
Location: UK
Posts: 369
You have to create an instance (an object) of the recordset before you can do things with it such as call its Open method.
Code:
Dim rsCount As ADODB.Recordset Set rsCount = CreateObject("ADODB.RecordSet")
__________________
Colin
RAD Excel Blog
Colin Legg
View Public Profile
Find all posts by Colin Legg