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
 

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