transfer spreadsheet and view

B

briank

I am using the docmd.transferspreadsheet code from a
command button on my form. The Excel spreadsheet is now
being saved at a a specific location on the network
drive. However, what I really would like to do is to
give the user the option to place this file anywhere they
want and then to automatically pull up the Excel file to
view. Can this be done?
 
C

Chris Nebinger

One possible way:

If MsgBox("Do you want to view the file?",vbYesNo") =
vbYes Then
FollowHyperlink strExcelFileName
End If


Chris Nebinger
 

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