|
Page 1 of 1
|
[ 8 posts ] |
|
Anybody here good with Access and macros and shit?
Author |
Message |
the_yeti
[n00b] Member
Joined: Mon Mar 31, 2008 11:00 pm Posts: 974
|
Anybody here good with Access and macros and shit?
Ok, here's what I'm trying to do. We have an Access program for filling out a form we have. It works great, but before this, we had a Excel spreadsheet to log the information contained on this form. There's a handful of fields, like report #, requester, project engineer, part # and so on. SO, to get our nifty Access program up to date, I've been stuck with the task of hand-importing all the data from the cells in Excel to the table in Access. And there's THOUSANDS of rows worth of report data.
so
Is there a cool, techy, macro, VB way (I know nothing of macros, coding, VB, w/e) to auto-import the Excel data into the Access table?
Thanks.
_________________
|
Thu Oct 20, 2011 3:44 pm |
|
|
Gman
[HNIC] Stзamroller ω
Joined: Sun Apr 25, 2004 11:00 pm Posts: 13453
|
Re: Anybody here good with Access and macros and shit?
Fomenta can probably whip something up.
_________________ I hate to advocate drugs, alcohol, violence, or insanity to anyone, but they've always worked for me. -- Hunter S Thompson
|
Thu Oct 20, 2011 4:32 pm |
|
|
the_yeti
[n00b] Member
Joined: Mon Mar 31, 2008 11:00 pm Posts: 974
|
Re: Anybody here good with Access and macros and shit?
Word.. but don't feel obligated.
I feel kinda stupid. Like as if this is bottom-rung shit for a programmer like 'menta, but it's just shit I've never done before nor was I ever taught, lol.
Full credit will be given where it is due, also. I aint no stooge.
_________________
|
Thu Oct 20, 2011 8:06 pm |
|
|
fomenta
n00bfest Elder, Lead Developer
Joined: Sun May 24, 2009 11:00 pm Posts: 2766 Location: Gettin it in
|
Re: Anybody here good with Access and macros and shit?
This can definitely be done. I just taught a course on Excel and Access actually.
If you wanna send me like trimmed down versions (like, 4-5 example entries) of the before excel, before access and after access files, I can whip something up np.
If not, screenshots and some description might work.
_________________
|
Thu Oct 20, 2011 8:42 pm |
|
|
Cpt. Carrot
Game Server Admin
Joined: Thu Jan 14, 2010 10:57 am Posts: 904
|
Re: Anybody here good with Access and macros and shit?
Try the import via the External Data option Attachment:
step1.jpg [ 49.53 KiB | Viewed 2192 times ]
Attachment:
step2.jpg [ 100.45 KiB | Viewed 2192 times ]
Attachment:
step3.jpg [ 83.78 KiB | Viewed 2192 times ]
Go through to import wizard, and then (if necessary) use some queries to manipulate the data to get what you need. big lulz, 'cause my wife told about the "External Data" thing
_________________
|
Thu Oct 20, 2011 10:16 pm |
|
|
Falcon
[n00b] Member
Joined: Fri Sep 30, 2005 11:00 pm Posts: 5230 Location: Rogers, AR
|
Re: Anybody here good with Access and macros and shit?
lol, im with carrot. back in school we had to write a Vb script to to this exact thing, worked on it for 3 days cause I had no idea what I was doing. then I realized you can just import the excel documents using the wizard carrot posted. it worked like a charm
_________________
|
Fri Oct 21, 2011 10:09 am |
|
|
the_yeti
[n00b] Member
Joined: Mon Mar 31, 2008 11:00 pm Posts: 974
|
Re: Anybody here good with Access and macros and shit?
I was told by my boss, the creator of this Access program, that this wouldn't work as there are multiple tables linked to a SQL database and subsequently linked to each other in various ways. I don't know how the F*CK it works...
_________________
|
Fri Oct 21, 2011 10:50 am |
|
|
Cpt. Carrot
Game Server Admin
Joined: Thu Jan 14, 2010 10:57 am Posts: 904
|
Re: Anybody here good with Access and macros and shit?
what about importing data from excel to the temp tables using the method I showed and then running import / append queries to get the data populated in the production table?
_________________
|
Fri Oct 21, 2011 12:44 pm |
|
|
|
|
Page 1 of 1
|
[ 8 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 2 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|