Link to home
Start Free TrialLog in
Avatar of oogooglies
oogooglies

asked on

File open Prompt Using in VBA


I want to import a spreadsheet into a microsoft access table. I need a typical windows file open prompt to appear so the user can choose the file they wish to import and once selected inport the spreadsheet into a table

Can anyone help me with this?
Avatar of rockiroads
rockiroads
Flag of United States of America image

pick the 2nd one
Avatar of puppydogbuddy
puppydogbuddy

Download free demo and source code "Browse and Open Files" at this link:

                  http://www.candace-tripp.com/pages/access_downloads.aspx#8
Avatar of oogooglies

ASKER

rockiroads, thanks that is exactly what i needed. The next step is to use the file selected and import it into a table within the access database... how would i go about doing that?
Check the link I pasted...that's exactly what I'm helping him do.
J
ASKER CERTIFIED SOLUTION
Avatar of rockiroads
rockiroads
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for your help, i have just got there before refreshing... slightly differently but basically the same....
Thanks jefftwilley, but rockiroads solution fits the bill perfectly. Cheers for your help
rockiroads,

Can a similar dialogbox be used to save data selected from a query into a file..... Again so i acts and feels like windows?

Thanks

Anthony