link to an excel file

  • Thread starter Thread starter Ian
  • Start date Start date
I

Ian

on an access form can i create a link from a button to
run excel and open a specific file held in a folder on a
network
 
You need to include code in the command button click event
handler along the following lines

Dim xlApp as Excel.Application

Set xlApp = CreateObject("Excel.Application")

xlApp.Workbooks.Open "{your workbook path and filename}"

You will need to update the References to include the Excel
Object Library.

Hope That Helps
Gerald Stanley MCSD
 
Back
Top