PRJ4: Error "Search text Is Not found" in VB Module

Q113340


The information in this article applies to:


SYMPTOMS

In Microsoft Project, when you use the Find and Replace commands in a Microsoft Project Visual Basic, Applications Edition, module, you may receive the following error message:

Search text not found
This error message may be displayed even if the search text has been found.


WORKAROUND

To work around this problem, use the Replace All button instead of the Find Next button.


STATUS

Microsoft has confirmed this to be a problem in the Microsoft products that are listed at the beginning of this article.


MORE INFORMATION

Steps to Reproduce Behavior

  1. From the Tools menu, choose Macros, and then choose New.


  2. Create the following macro:


  3. 
          Sub test()
              'FilOpen
          End sub 
  4. From the Edit menu, choose Replace.


  5. In the Find box, type 'FilOpen.


  6. In the Replace box, type FileOpen.


  7. Choose Find Next.


  8. When the search text is selected, choose the Replace button.


At this point the error message will be displayed.

Additional query words:

Keywords : kbusage
Issue type : kbbug
Technology : kbHWMAC kbOSMAC kbProjectSearch kbProject400Mac kbProjectMacSearch kbProject400


Last Reviewed: November 5, 2000
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.