|
-
Oct 12th, 2011, 04:23 PM
#1
Thread Starter
New Member
Importing from excel question
Greetings,
I am trying to import data from an excel spreadsheet to access using VBA.
I already know that some of the data needs to be modified, and that I will need to import the data to different tables.
My thought would be to import the data into a preliminary table, and the move the data to the real table that will be used. From the preliminary table I want to manipulate the data and then delete out any unused fields.
Any suggestions?
-
Oct 12th, 2011, 11:56 PM
#2
Re: Importing from excel question
Welcome to VB Forums !
 Originally Posted by STS4600
Greetings,
---My thought would be to import the data into a preliminary table,...
Any suggestions?
If you need to do this only once, then...
Open your excel sheet
Select the desired rows
Control-C
Open Access
Create a new file & a new table
Control-V
If you need to do it several times then it would be better to write the correspondent code, it could be in excel or in access...
If you use ADO, then you can use a connection string special to open excel sheets
JG
... If your problem is fixed don't forget to mark your threads as resolved using the Thread Tools menu ...
-
Oct 19th, 2011, 03:37 PM
#3
Thread Starter
New Member
Re: Importing from excel question
We need to continuously add new data from excel to access. So this will not be a one time deal.
Do you know what code we would need to set a macro up in Access or Excel to have this automated?
-
Oct 19th, 2011, 09:45 PM
#4
Re: Importing from excel question
Hi.
If you are going to program directly do access or excel with vba you better ask here:
http://www.vbforums.com/forumdisplay.php?f=37
ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|