#1   Report Post  
Posted to microsoft.public.excel.misc
JohnnyTheAmmer
 
Posts: n/a
Default Excel to Access

I have a set of Workbooks that I use each month to compile stats etc, One is
called M76, it contains a user form with various Macros etc to maniplulate
the data,
The Data Source is and Access database Called DP2, I have a pre built query
within there that I run to get the months data,

What I want to do is insert a new user command in the excel workbook's form
which I can click and it runs off and gets the data for me,

I have managed to get excel to open Access but cannot get it to go straight
to the database in question, and then to the particular query and or macro
that runs the query?

Is it possible to do this, if so any suggestions would be gratefully received
Thanks In Advance
JTA
  #2   Report Post  
Posted to microsoft.public.excel.misc
 
Posts: n/a
Default Excel to Access

Hi

One way to get data remotely from Access/Excel is to use ODBC. In short, go
to Data/Get External Data and select New Database Query. Select MSAccess
Database and browse to the required file.

Hope this helps.
Andy.

"JohnnyTheAmmer" wrote in message
...
I have a set of Workbooks that I use each month to compile stats etc, One
is
called M76, it contains a user form with various Macros etc to maniplulate
the data,
The Data Source is and Access database Called DP2, I have a pre built
query
within there that I run to get the months data,

What I want to do is insert a new user command in the excel workbook's
form
which I can click and it runs off and gets the data for me,

I have managed to get excel to open Access but cannot get it to go
straight
to the database in question, and then to the particular query and or macro
that runs the query?

Is it possible to do this, if so any suggestions would be gratefully
received
Thanks In Advance
JTA



  #3   Report Post  
Posted to microsoft.public.excel.misc
JohnnyTheAmmer
 
Posts: n/a
Default Excel to Access

Hi

Many thanks, I did as suggested, however as the Datbase is in fact an Oracle
one and just uses an access back end I stuggled foe a while, however I
eventually go there by constructing a query through the query builder bit...

Thanks again

JTH

"Andy" wrote:

Hi

One way to get data remotely from Access/Excel is to use ODBC. In short, go
to Data/Get External Data and select New Database Query. Select MSAccess
Database and browse to the required file.

Hope this helps.
Andy.

"JohnnyTheAmmer" wrote in message
...
I have a set of Workbooks that I use each month to compile stats etc, One
is
called M76, it contains a user form with various Macros etc to maniplulate
the data,
The Data Source is and Access database Called DP2, I have a pre built
query
within there that I run to get the months data,

What I want to do is insert a new user command in the excel workbook's
form
which I can click and it runs off and gets the data for me,

I have managed to get excel to open Access but cannot get it to go
straight
to the database in question, and then to the particular query and or macro
that runs the query?

Is it possible to do this, if so any suggestions would be gratefully
received
Thanks In Advance
JTA




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Cannot access read-only document" (I get this error when I try to open an Excel file) [email protected] Excel Discussion (Misc queries) 1 June 5th 06 02:15 PM
Started out as an Access problem. Now an Excel problem RobertM Excel Discussion (Misc queries) 2 April 26th 06 08:30 PM
Excel Access and Oracle Chris K Excel Discussion (Misc queries) 1 February 17th 06 07:16 PM
TRYING TO SET UP EXCEL SPREADSHEET ON MY COMPUTER MEGTOM New Users to Excel 5 October 27th 05 04:06 AM
Microsoft Access Report into Excel Spreadsheet zeebyrd Excel Discussion (Misc queries) 1 February 27th 05 01:36 AM


All times are GMT +1. The time now is 04:35 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"