hi all,
my issue is this; from what i understand, if i add a reference to 'microsoft office 12.0 object library", then in my VBA i should be able to create a class like this:
now, i have done this in my VBA project and to no avail. using:
seems to work quite well; but i have problems with opening the database.
can some please explain to me how to get things so the first option to work as i am fairly new to VBA and having access to all the procs/functions of a class would be very useful.
thanks in advance...
my issue is this; from what i understand, if i add a reference to 'microsoft office 12.0 object library", then in my VBA i should be able to create a class like this:
Code:
dim oAcc as Access.Application
Code:
dim oAcc as Object
set oAcc = CreateObject("Access.Application")
can some please explain to me how to get things so the first option to work as i am fairly new to VBA and having access to all the procs/functions of a class would be very useful.
thanks in advance...
Comment