+ Reply to Thread
Results 1 to 3 of 3

Not finding string error fix in macro find command

  1. #1
    Forum Contributor
    Join Date
    04-21-2006
    Location
    Australia
    MS-Off Ver
    O365 PC Version 2301
    Posts
    122

    Not finding string error fix in macro find command

    I have some code where I am attempting to find a specific string (AssetNo). It is used on a form presently but I have another application I also wish to use similar code. When the Find command does not find an exact match I nee to be able to make something happen. In the case below
    Status.Value = "Asset Not in Active Database"
    What do I need to add to be able to do this. I tried an If command with =False at the end but that didn't work.


    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Hi

    How about something like

    Please Login or Register  to view this content.

    rylo

  3. #3
    Forum Contributor
    Join Date
    04-21-2006
    Location
    Australia
    MS-Off Ver
    O365 PC Version 2301
    Posts
    122
    Yep that does the trick thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1