PC Review


Reply
Thread Tools Rate Thread

Create macro to download access 2000 table to excel 2000 spreadsheet

 
 
Tushar
Guest
Posts: n/a
 
      5th Oct 2004
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.
 
Reply With Quote
 
 
 
 
Tom Ogilvy
Guest
Posts: n/a
 
      5th Oct 2004
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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.



 
Reply With Quote
 
Tushar Garg
Guest
Posts: n/a
 
      11th Oct 2004


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!
 
Reply With Quote
 
Tushar
Guest
Posts: n/a
 
      21st Oct 2004
Tushar Garg <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> 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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
spreadsheet with macro does not work in Excel 2000 opened in Internet Explorer jt54 Microsoft Excel Programming 0 5th Apr 2006 09:14 PM
2nd try --Macro to transfer data in an Excel sheet (2000) in Access 2000 ( code to replace what wizard do) André Lavoie Microsoft Excel Programming 0 27th Sep 2005 01:50 PM
How do I create a spreadsheet style report in Access 2000? =?Utf-8?B?TWljaGVsbGU=?= Microsoft Access Reports 3 16th May 2005 08:06 PM
create table using access 2000 connecting to SQL Server 2000 =?Utf-8?B?Q2hyaXM=?= Microsoft Access Queries 0 11th Jun 2004 06:41 PM
Access 2000 corrupted Excel 2000 writing to linked table - help! =?Utf-8?B?TWljaGFlbCBIb2Jicw==?= Microsoft Excel Crashes 4 20th Feb 2004 04:00 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:29 AM.