Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Import File VBA code Access 2007

Status
Not open for further replies.

Ebes1099

Technical User
Jul 8, 2009
156
US
I built a database in Access 2003 and had a button on my form that opened the "Import File" dialog box. I was using the code, DoCmd.DoMenuItem acFormBar, acFile, 2, 0, acMenuVer70, that doesn't seem to work in my Access 2007 version. Does anyone know the code to do the same thing in 2007? Thanks.
 
Nevermind, I think this should work...

DoCmd.RunCommand acCmdImportAttachExcel

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top