Accessing DLL Libaries without a reference - MS ACCESS (1 Viewer)

coxmg

New member
Local time
Today, 00:37
Joined
Sep 29, 2011
Messages
4
Hi guys, I have an ACCESS project where the users cannot add a VBA library reference for example, microsoft excel 12.0 object library. They are using Citrix for remote access to a server. Does anyone know a way to refer to the VBA code to these particular libraries without having to add the DLL reference?
 

gemma-the-husky

Super Moderator
Staff member
Local time
Today, 08:37
Joined
Sep 12, 2006
Messages
15,710
late binding? something like this?

dim excelobj as object

set excelobj = new("excel.application")

the only thing is, you can't then use constant members of the excel library - you have to use the explicit values instead.
 

coxmg

New member
Local time
Today, 00:37
Joined
Sep 29, 2011
Messages
4
Thanks, what do you mean by contact versus explicit?

late binding? something like this?

dim excelobj as object

set excelobj = new("excel.application")

the only thing is, you can't then use constant members of the excel library - you have to use the explicit values instead.
 

Users who are viewing this thread

Top Bottom