Opening Excel from Access

S

scottydel

Hello,

Wasn't sure where to drop this question.

I'm using Access 2003. After I dump a bunch of data to an Excel file, and
save it off, I'd like to give the user the prompt to open the Excel file the
app just created for them. I did a little digging, and found out that the
FileDialog object does not support the Open file dialog type in MS Access, or
as MSDN puts it:

msoFileDialogOpen Not supported in Microsoft Access.

So, anyone know of a workaround or a different approach to be able to prompt
the user to open an Excel file from within Access?

Thanks,

Scott
 
F

fredg

Hello,

Wasn't sure where to drop this question.

I'm using Access 2003. After I dump a bunch of data to an Excel file, and
save it off, I'd like to give the user the prompt to open the Excel file the
app just created for them. I did a little digging, and found out that the
FileDialog object does not support the Open file dialog type in MS Access, or
as MSDN puts it:

msoFileDialogOpen Not supported in Microsoft Access.

So, anyone know of a workaround or a different approach to be able to prompt
the user to open an Excel file from within Access?

Thanks,

Scott

If MsgBox("Open the Excel file?",vbYesNo) = vbYes then
Application.FollowHyperlink "PathToFile\FileName.xls"
End If
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top