If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Replace code in forms
is there a way to have a custom function that will find a block of code and
replace it with another within a form's module? thanks |
#2
|
|||
|
|||
Tom
This is a very generic question. Could you provide a little more information about what you are trying to accomplish? There may be other ways that the readers could offer... -- More info, please ... Jeff Boyce Access MVP |
#3
|
|||
|
|||
Hi Jeff,
Well I wanted a quick way to find and replace specific blocks of code within a form's (.cls) class module and Modules. Simliar to when you are in the code window of a form and you bring up the Find/Replace dialog, but instead of having to supply what to search for and what to replace it with, have those parameters supplied by default for example: when I run this function, it would go thrrough all code modules and find and replace say a block of coments with something else something like this for example FindAndReplace("BlockOfCodeToFind","BlockOfCodeToR eplaceWith") So this would search all code in all modules and perform the replacement I don't even know if that's possible Thanks Tom "Jeff Boyce" -DISCARD_HYPHEN_TO_END wrote in message ... Tom This is a very generic question. Could you provide a little more information about what you are trying to accomplish? There may be other ways that the readers could offer... -- More info, please ... Jeff Boyce Access MVP |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to phrase If/Then clauses in the control source field | Database Design | 13 | August 14th, 2004 04:22 PM | |
Visible or Invisible Code | Dave Elliott | Using Forms | 18 | July 27th, 2004 04:33 AM |
VBA Code Help - Badly needed | venus as a boy | General Discussion | 1 | July 20th, 2004 06:53 PM |
If..Else..Problem... | MaryF | New Users | 18 | July 7th, 2004 01:01 AM |
search and replace individual documents | Hilary Ratner | General Discussion | 5 | June 10th, 2004 01:35 AM |