Search the web
Sign In
New User? Sign Up
ms_access · Help and advice for users of MS access
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Macro Runcommand: ImportAttachExcel   Message List  
Reply | Forward Message #21542 of 21712 |
Re: [ms_access] Macro Runcommand: ImportAttachExcel

Go to options and edit remove the checks from the confirm panel




________________________________
From: Jan Hertzsch <phssthpok3@...>
To: ms_access@yahoogroups.com
Sent: Tuesday, January 13, 2009 9:31:19 AM
Subject: [ms_access] Macro Runcommand: ImportAttachExcel


Ah I look forward to the day when I understand half the answers you kind
gentlemen are providing. I feel bad pursuing this but it should seem simple. I
want to upload a spreadsheet to two, different, tables and then execute a query.
I made as simple macro with Runcommand in the ACTION column and
IMPORTATTACHEXCEL in the arguments column. When I run the macro, it does start
the import of the file to the table but I have to make all the selections.  I
suspect there is a way of entering the parameters for this command or using a
different command to execute the 2 saved uploads and the query. 
 
Just trying to learn the basics here and I DO appreciate the help.
 
Thanks
 
Jan

--- On Mon, 1/12/09, Tyrone Lumley <tyrone_topheavy@ yahoo.com> wrote:

From: Tyrone Lumley <tyrone_topheavy@ yahoo.com>
Subject: Re: [ms_access] Does Macro Runcommand: ImportAttachExcel alllow the
import of Excel to a table?
To: ms_access@yahoogrou ps.com
Date: Monday, January 12, 2009, 11:55 PM

Yes, you can import an Excel spreadsheet using this command. You should have the
option of importing to a new spreadsheet, or appending to an exsisting one.
 
I have better luck using VBA, opening an instance of excel using the excel
object model, finding the last cell, and using a for-next to import the records.
More control, and more professional than a macro calling a wizard....

--- On Mon, 1/12/09, Jan <phssthpok3@ yahoo. com> wrote:

From: Jan <phssthpok3@ yahoo. com>
Subject: [ms_access] Does Macro Runcommand: ImportAttachExcel alllow the import
of Excel to a table?
To: ms_access@yahoogrou ps.com
Date: Monday, January 12, 2009, 6:01 PM

It sure looks like this is the way to go but my book does not talk
about this run command. I did a search on the web and got little.

I want to set up a macro to import an excel worksheet and overwrite an
existing table. I can't figure out the syntax for this. Can you help?

[Non-text portions of this message have been removed]

[Non-text portions of this message have been removed]



[Non-text portions of this message have been removed]




Wed Jan 14, 2009 5:08 pm

johnny100g
Offline Offline
Send Email Send Email

Forward
Message #21542 of 21712 |
Expand Messages Author Sort by Date

Ah I look forward to the day when I understand half the answers you kind gentlemen are providing. I feel bad pursuing this but it should seem simple. I want to...
Jan Hertzsch
phssthpok3
Offline Send Email
Jan 13, 2009
5:31 pm

Go to options and edit remove the checks from the confirm panel ________________________________ From: Jan Hertzsch <phssthpok3@...> To:...
John Gonnello
johnny100g
Offline Send Email
Jan 14, 2009
5:08 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help