Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 788
Default Exporting from access into excel

I am wanting to have an excel sheet where a button is pressed and it goes
into an access database and exports a copy of a table to an excel file, so it
can then be used.
I have not got a clue where to go with this. Can anybody help?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Exporting from access into excel

Hi Chris

Maybe you can use this
http://www.rondebruin.nl/accessexcel.htm

--
Regards Ron de Bruin
http://www.rondebruin.nl



"Chris" wrote in message ...
I am wanting to have an excel sheet where a button is pressed and it goes
into an access database and exports a copy of a table to an excel file, so it
can then be used.
I have not got a clue where to go with this. Can anybody help?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 788
Default Exporting from access into excel

Thanks, I'll try it out

"Ron de Bruin" wrote:

Hi Chris

Maybe you can use this
http://www.rondebruin.nl/accessexcel.htm

--
Regards Ron de Bruin
http://www.rondebruin.nl



"Chris" wrote in message ...
I am wanting to have an excel sheet where a button is pressed and it goes
into an access database and exports a copy of a table to an excel file, so it
can then be used.
I have not got a clue where to go with this. Can anybody help?




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 788
Default Exporting from access into excel

I have tried this code out and it fails each time I try it. I am using the
one that copies all records. The line it fails on is 'MyDatabase.Open MySQL,
MyConnection, 0, 1, 1', the error it gives is a syntax error on the FROM
clause. Have you any ideas what is causing this, help comes up with nothing.


"Chris" wrote:

Thanks, I'll try it out

"Ron de Bruin" wrote:

Hi Chris

Maybe you can use this
http://www.rondebruin.nl/accessexcel.htm

--
Regards Ron de Bruin
http://www.rondebruin.nl



"Chris" wrote in message ...
I am wanting to have an excel sheet where a button is pressed and it goes
into an access database and exports a copy of a table to an excel file, so it
can then be used.
I have not got a clue where to go with this. Can anybody help?




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Exporting from access into excel

Is the example workbook working for you

--
Regards Ron de Bruin
http://www.rondebruin.nl



"Chris" wrote in message ...
I have tried this code out and it fails each time I try it. I am using the
one that copies all records. The line it fails on is 'MyDatabase.Open MySQL,
MyConnection, 0, 1, 1', the error it gives is a syntax error on the FROM
clause. Have you any ideas what is causing this, help comes up with nothing.


"Chris" wrote:

Thanks, I'll try it out

"Ron de Bruin" wrote:

Hi Chris

Maybe you can use this
http://www.rondebruin.nl/accessexcel.htm

--
Regards Ron de Bruin
http://www.rondebruin.nl



"Chris" wrote in message ...
I am wanting to have an excel sheet where a button is pressed and it goes
into an access database and exports a copy of a table to an excel file, so it
can then be used.
I have not got a clue where to go with this. Can anybody help?







  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 788
Default Exporting from access into excel

I have found another way, by recording the actions as I got external data
through the Data menu. I will try the example workbook though when I get
home, I still want to learn why it was not working.

Thanks for your help

"Ron de Bruin" wrote:

Is the example workbook working for you

--
Regards Ron de Bruin
http://www.rondebruin.nl



"Chris" wrote in message ...
I have tried this code out and it fails each time I try it. I am using the
one that copies all records. The line it fails on is 'MyDatabase.Open MySQL,
MyConnection, 0, 1, 1', the error it gives is a syntax error on the FROM
clause. Have you any ideas what is causing this, help comes up with nothing.


"Chris" wrote:

Thanks, I'll try it out

"Ron de Bruin" wrote:

Hi Chris

Maybe you can use this
http://www.rondebruin.nl/accessexcel.htm

--
Regards Ron de Bruin
http://www.rondebruin.nl



"Chris" wrote in message ...
I am wanting to have an excel sheet where a button is pressed and it goes
into an access database and exports a copy of a table to an excel file, so it
can then be used.
I have not got a clue where to go with this. Can anybody help?






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
Exporting an Access report into Excel Stanley Excel Discussion (Misc queries) 2 November 12th 08 04:26 PM
Exporting to excel from Access Stuart Y. Excel Programming 5 May 11th 05 10:10 PM
Exporting from Access to Excel Jamie Collins Excel Programming 0 June 25th 04 12:04 PM
Exporting from Access to Excel keepITcool Excel Programming 1 June 25th 04 10:25 AM
Exporting Excel to Access Jim Alexander Excel Programming 3 October 18th 03 12:30 PM


All times are GMT +1. The time now is 01:05 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"