Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Create macro to download access 2000 table to excel 2000 spreadsheet

Hello,

I am trying to import a table from access 2000 to excel 2000. The
table name is 'Download Table' and the excel spreadsheet is 'CERCLIS'.
I need to make it a macro. Could someone please show me the code I
need to make this happen. Thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Create macro to download access 2000 table to excel 2000 spreadsheet

On way would be to go to the Data menu and select Get External Data.

another way would be to use ADO

See Mr. Erlandsen's site for sample code for ADO and DAO:

http://www.erlandsendata.no/english/...php?t=envbadac

--
Regards,
Tom Ogilvy




"Tushar" wrote in message
om...
Hello,

I am trying to import a table from access 2000 to excel 2000. The
table name is 'Download Table' and the excel spreadsheet is 'CERCLIS'.
I need to make it a macro. Could someone please show me the code I
need to make this happen. Thanks in advance.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Create macro to download access 2000 table to excel 2000 spreadsheet



Thanks for all the help Tom. If I have any more questions, is there a
direct e-mail I may reach you at? Thanks again

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Create macro to download access 2000 table to excel 2000 spreadsheet

Tushar Garg wrote in message ...
Thanks for all the help Tom. If I have any more questions, is there a
direct e-mail I may reach you at? Thanks again

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Tom,

I have another one for you. The project i am working on, divides a
year into 4 quarters. Example, 10/21/2004 is marked as 20044 (Year/Q)
in the access database. If the user puts in any year with the
respective quarter, the download needs to be from that point on till
the last record. I got the table to download using your original idea
of Data-Get external data. If you can show me how to filter down
data based on this Year/Q constraint, that would greatly appreciated.
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
Can I create a XML spreadsheet with Microsoft Office 2000? Alfredo_RCE Excel Discussion (Misc queries) 0 April 17th 07 04:38 PM
How do I download and open a CSV file in Excel 2000? Doug P Setting up and Configuration of Excel 1 March 12th 06 11:32 PM
Where can I download the "solver" add-in for Excel 2000? Mr. Bond Excel Discussion (Misc queries) 3 April 3rd 05 12:21 PM
Call Access 2000 macro in Excel Peter Excel Programming 0 May 18th 04 04:29 PM
excell 2000 to access 2000 vinimall[_2_] Excel Programming 2 October 22nd 03 03:56 PM


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