Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am trying to get a list of tables from Access in an Excel VBA program that
I'm writing. I have the query set up in Access that specifies this statement: SELECT msysobjects.Name, msysobjects.Type FROM msysobjects WHERE (((msysobjects.Name) Not Like 'msys*') AND ((msysobjects.Type)=1 Or (msysobjects.Type)=6)); It works from within Access, but when I ask Excel to use ADO and run "Select * from [<Name of Query]", I get an access denied error message. The connection is using the "Admin" user information, and yet I get the access denied message. I need to know if there is something within ADO that is blocking the connection or is it a limited amount of access to the MSysobjects outside of the Access program, and if possible a way to correct the problem. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Close Excel tables from Access | Excel Discussion (Misc queries) | |||
Connecting Excel sheets to Access Tables??? | Excel Discussion (Misc queries) | |||
How to update ms access tables directly from ms excel? | New Users to Excel | |||
Access tables in Excel | Excel Discussion (Misc queries) | |||
Excel to Access linked tables | Excel Discussion (Misc queries) |