Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Programming Excel to export to Access

Can someone point me to some online help for getting Excel and Access
to talk to eachother?

I have a spreadsheet that is updated daily, and I want to export
yesterday's data to a database for archiving purposes. The Excel
macro should copy some data, open the database, open a table and paste
the data to the end of the table. All of the data is unique (or
should be), so duplication shouldn't be a problem.

Thank you for any help!
Z
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Programming Excel to export to Access

One thing you can do is link a table in the database to
the Excel spreadsheet. This will update the table
whenever changes are made to your spreadsheet.

If unsure how to do this, go to File - Get External Data -
Link Tables - Select Excel from the Files of Type -
Browse to the spreadsheet and let the Wizard walk you
through the rest.


-----Original Message-----
Can someone point me to some online help for getting

Excel and Access
to talk to eachother?

I have a spreadsheet that is updated daily, and I want

to export
yesterday's data to a database for archiving purposes.

The Excel
macro should copy some data, open the database, open a

table and paste
the data to the end of the table. All of the data is

unique (or
should be), so duplication shouldn't be a problem.

Thank you for any help!
Z
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 459
Default Programming Excel to export to Access

I'm unsure how your suggestion will help the OP archive the data on a
daily basis. Surely a linked table in MS Access will always show the
current data in the spreadsheet, rather than persist yesterday's data?

--

"Crush" wrote in message ...
One thing you can do is link a table in the database to
the Excel spreadsheet. This will update the table
whenever changes are made to your spreadsheet.

If unsure how to do this, go to File - Get External Data -
Link Tables - Select Excel from the Files of Type -
Browse to the spreadsheet and let the Wizard walk you
through the rest.


-----Original Message-----
Can someone point me to some online help for getting

Excel and Access
to talk to eachother?

I have a spreadsheet that is updated daily, and I want

to export
yesterday's data to a database for archiving purposes.

The Excel
macro should copy some data, open the database, open a

table and paste
the data to the end of the table. All of the data is

unique (or
should be), so duplication shouldn't be a problem.

Thank you for any help!
Z
.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35
Default Programming Excel to export to Access

This might be a help for getting data to and from Excel and Access: It
includes examples of using variables in SQL queries.
http://www.bygsoftware.com/examples/sql.html

Or you can get there from the "Excel with Access Databases" section on page:
http://www.bygsoftware.com/examples/examples.htm

It demonstrates how to use SQL in Excel's VBA to:

* create a database,
* create a table and add data to it,
* select data from a table,
* delete a table,
* delete a database.

DAO and ADO files available.

You can also download the demonstration file called "excelsql.zip".

The code is open and commented.


--
Regards
Andy Wiggins
www.BygSoftware.com
Home of "Save and BackUp",
"The Excel Auditor" and "Byg Tools for VBA"



"Z" wrote in message
om...
Can someone point me to some online help for getting Excel and Access
to talk to eachother?

I have a spreadsheet that is updated daily, and I want to export
yesterday's data to a database for archiving purposes. The Excel
macro should copy some data, open the database, open a table and paste
the data to the end of the table. All of the data is unique (or
should be), so duplication shouldn't be a problem.

Thank you for any help!
Z



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
How to export selected columns to SQL Server without programming? aushknotes Excel Discussion (Misc queries) 0 August 10th 08 12:47 AM
Export to Access from Excel Secret Squirrel Excel Discussion (Misc queries) 0 February 7th 06 11:44 PM
export access to excel. change access & update excel at same time fastcar Excel Discussion (Misc queries) 0 June 24th 05 09:27 PM
Export from Access to Excel Sabina Excel Discussion (Misc queries) 3 February 23rd 05 09:56 PM
Programming to go between Access and Excel Shin[_2_] Excel Programming 3 November 18th 03 08:14 PM


All times are GMT +1. The time now is 02:02 PM.

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"