Opening Excel file from access

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

i have a spreadsheet (DATA.xls) that is linked to a table (SummaryTable). I
am trying to write VB code to open the spreadsheet for viewing from the
database after the table has been updated and am struggling on how to open
the excel file. Thanks in advance for any assistance.
 
i have a spreadsheet (DATA.xls) that is linked to a table (SummaryTable). I
am trying to write VB code to open the spreadsheet for viewing from the
database after the table has been updated and am struggling on how to open
the excel file. Thanks in advance for any assistance.

Application.FollowHyperlink "c:\FolderName\Data.xls"
will get you there.
 

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

Back
Top