Find text but excluding commented text in VBA macros

  • Thread starter FedUpOfAccess2003Bugs
  • Start date
F

FedUpOfAccess2003Bugs

I would find it very useful to search macro code but excluding the comments.
for example, i would like to search "if lngX = lngY then" but not within
comments within the procedure/module/project.

like most developers i keep a history of corrected or enhanced code within
the macro code as commented out text. i appreciate that this increases the
size of the ADP/MDB files and could impair the performance of the compiled
ADE/MDE files but the advantage of having the "old" code readily to hand
outweighs this advantage to me.

if this feature is not a feature of VS.2003/5 would it not be useful for
that as well?

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/com...a84b9ec92d1&dg=microsoft.public.access.macros
 

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