Solved

Find (Ctrl-F) greyed out when not on module or form

Posted on 2010-11-26
4
369 Views
Last Modified: 2013-11-27
This may be the dumbest question I have asked since joining EE. But, can you even 'Search All' your code in the code window? Say I have 5 modules and 13 forms and want to find a specific piece of code. Without going to every form/module and doing a Find, how can you do that? Seems like I am missing something here. Is there no 'Search All' capabilites built in to Access 2007??
0
Comment
Question by:G Scott
  • 3
4 Comments
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform) earned 125 total points
ID: 34220500
Yes. Get this free tool:

http://mztools.com/v3/mztools3.aspx

quick install.  It has an AWESOME VBA search function ... searches ALL code.  I use it every day.  

mx
0
 
LVL 75
ID: 34220506
Oh, and it works in A2007 and A2010 also for sure.

The 'Find..." function is on the Right Click menu when you are in the vba editor - see images below.

If you select 'Project' in the Scope section, it will search the entire app's code, modules, form, class modules ... all of it.  In fact, you can even include code in an Add In mdb if you happen to have one (I usually do) by selecting Project Group.

Indispensable tool.

And while we are at it, get the other best ever Find and Replace tool:

http://www.rickworld.com/beta  (also works in all versions now - don't worry about word 'beta')

This will pay for itself in first use.  I also use this everyday.  Besides searching code, it also searches everything else too.

mx
Capture1.gif
Capture2.gif
0
 
LVL 1

Author Closing Comment

by:G Scott
ID: 34223178
LOL DatabaseMX, I already had it installed and never knew it was capapble of that. Thanks.
0
 
LVL 75
ID: 34224165
you are welcome.

MZTools has MANY cool features ... check time all out.

Same with F&R ...

mx
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question