MS Access 2010 - Find specific data in a linked Excel sheet

Wingfoot

New Member
Joined
Oct 10, 2014
Messages
37
Hi

I was wondering if it would be possible to click on a particular field in an Access form (where the field contains a reference number), which then opens a linked excel sheet and finds the same reference number in that sheet.

The way I envisage it working would be like a hyperlink to a specific excel sheet, followed by a process to perform a search to locate the criteria from the form field - if that's at all possible!

Hope that makes sense, if not please let me know and I'll clarify.

Thanks in advance.
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Why not just run a query in Access that looks at the linked table and returns the expected results for the needed fields?
 
Upvote 0
Hi Alan

Thanks for your reply - is it possible to run a query by clicking in a form field though?
 
Upvote 0
Don't worry - I've solved it by creating a form from my linked table and using the on-click event on the field in my main form to open the form, using the "where" condition as follows:

Code:
DoCmd.OpenForm "FrmName", , , "ID_ Number = " & Me!ID_ Number
 
Upvote 0

Forum statistics

Threads
1,215,429
Messages
6,124,837
Members
449,193
Latest member
MikeVol

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top