How to Import data from Excel into a single table

R

Rich

Hello,

I need to import data from an Excel spreadsheet into a table. This table
will contain info related to certificates. For a given server, the table
will have a row for each certificate on that server.

This is what I am hoping to accomplish.

1. User must input a server name.
2. On_Click, display a File Open dialog box so user can navigate to and
select the spreadsheet file.
3. Import the data.

Is there a way to call a File Open dialog box? If so, how?
What is the code required to execute the actual import?

TIA,
Rich
 
P

Piet Linden

Hello,

I need to import data from an Excel spreadsheet into a table.  This table
will contain info related to certificates.  For a given server, the table
will have a row for each certificate on that server.  

This is what I am hoping to accomplish.

1.  User must input a server name.
2.  On_Click, display a File Open dialog box so user can navigate to and
select the spreadsheet file.
3.  Import the data.

Is there a way to call a File Open dialog box?  If so, how?
What is the code required to execute the actual import?

TIA,
Rich

use a combobox for the server name. probably store those in a table,
so you'd just use a query against that table to get the servers you
want.

then use the OpenSaveFileAPI at Access Web for the file Open...
http://www.mvps.org/access/api/api0001.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top