By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,844 Members | 1,895 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,844 IT Pros & Developers. It's quick & easy.

Create access button to search 4 excel worksheet that matches date & product in form?

P: 1
Would like to create a button on a form to find an excel worksheet that has a matching product code and production date. The excel sheet may be in one of several workbooks in folders divided by month within yearly folder. Can anyone help? Thanks in advance. I am currently connecting the master folder from the form.
Dec 10 '10 #1
Share this Question
Share on Google+
1 Reply


NeoPa
Expert Mod 15k+
P: 31,307
Within Excel you can run a search across multiple sheets if they are all selected already. In code you simply need to run the search against a collection of sheets - done by passing an array of sheet names to ActiveWorkbook.Worksheets().

Look in Application Automation for how to control an Excel session remotely (from Access for instance).
Dec 13 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.