472,111 Members | 1,992 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,111 software developers and data experts.

Help with transferring data from excel to access.

Hello all, i'm new at this. I need some assistant in transferring data
from excel to access.

I created a macro that basically gather all the necessary data that i
need to bring into access. I also created a table in access with the
correct columns to store the data from excel. Is there a way in VBA
code that i can write so that when the data that i need can be
automatically transfer into my access table?

Thank you

Nov 13 '05 #1
3 1715
how about running it once manually File, Get External Data, Import,
.....
and then after that naming and saving the Import Specification. After
that, you can use the import spec in a macro/code to run future
imports...

Nov 13 '05 #2

pietlin...@hotmail.com wrote:
how about running it once manually File, Get External Data, Import,
....
and then after that naming and saving the Import Specification. After that, you can use the import spec in a macro/code to run future
imports...


When my macro is finish running, i want to copy one column and save it
as a text file in excel vba. Can someone show me the right way of
doing this? Thank you.

Nov 13 '05 #3
copy one column from where? Guess it doesn't matter if it's a linked
SS. Just use TransferText and export the thing. See the help for
details/examples.

Macros? Never use them. (Yeah, but you gotta start somewhere.)

Nov 13 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by NRB | last post: by
1 post views Thread by kumar yogesh via .NET 247 | last post: by
4 posts views Thread by Melissa | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.