Reference a cell in Excel

J

JF Bouthillier

Hi all,

How can I display the value of a specific Excel worksheet
cell in a form?

Thank you.
JF
 
J

John Nurick

Hi JF,

One way is to use a listbox one row high, with a RowSourceType of
Table/Query and a RowSource like this (adjusted for the workbook,
worksheet and cell address:

SELECT F1
FROM [Excel 8.0;HDR=No;database=D:\folder\file.xls;].[Sheet1$B5:B5];
 

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