link to an excel file

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
 
G

Gerald Stanley

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
 
Top