If it is just information retrieval, why don't you use ACE.OLEDB connection
from Excel and display the required information in an excel sheet itself?
Or why don't you try linked tables? You don't necessarily need to open a
database to show what's in it?


On Wed, Apr 17, 2013 at 3:13 PM, <neilstewa...@sky.com> wrote:

> Hi Sam,
>
> Thanks for the response. The purpose of opening with VBA is simple, it's
> just to open it so front end users can use the database for it's purpose of
> information retrieval, reporting etc.
>
> The user group requires to access many different Excel reports and
> Access databases with many of the reports being archived back as far as
> 2006, and so I have created a switchboard in Excel using VBA that will open
> any report or database by selecting drop down options for day / month /
> year as required. This means users can have easy access to the full suite
> of information from one source and simplifies things a lot and ensures all
> users know what reports/databases are out there i.e. no excuses. Excel is
> fine, of course but I have the Access issue which I am struggling to
> overcome.
>
> Thanks, Neil
>
>
>
> On Monday, April 15, 2013 1:31:58 PM UTC+1, neilst...@sky.com wrote:
>
>> Hi all,
>>
>> I am stuck, hope someone can help me...
>>
>> I a using the following code in Excel, to open an Access database. It
>> works fine for users with Full Version Access installed however I get an
>> Activex cannot create object error for users who only have Access runtime
>> installed (most users). Is there a way to overcome this issue?
>>
>> I have this golbal declaration...
>>
>> Global appAccess As Object
>>
>> An then this code resides in an onButtonCLick function...
>>
>>     Set appAccess = CreateObject("Access.**Application")
>>     Application.DisplayAlerts = False
>>     Set appAccess = GetObject("K:\Folder\Database.**mdb")
>>
>> Thanks in advance for your help.
>>
>  --
> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
> https://www.facebook.com/discussexcel
>
> FORUM RULES
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
> 2) Don't post a question in the thread of another member.
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
> 4) Acknowledge the responses you receive, good or bad.
> 5) Jobs posting is not allowed.
> 6) Sharing copyrighted material and their links is not allowed.
>
> NOTE : Don't ever post confidential data in a workbook. Forum owners and
> members are not responsible for any loss.
> ---
> You received this message because you are subscribed to the Google Groups
> "MS EXCEL AND VBA MACROS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to excel-macros+unsubscr...@googlegroups.com.
> To post to this group, send email to excel-macros@googlegroups.com.
> Visit this group at http://groups.google.com/group/excel-macros?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Sam Mathai Chacko

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to