+ Reply to Thread
Results 1 to 5 of 5

Clear content of cell if has some character.

  1. #1
    Registered User
    Join Date
    01-13-2005
    Posts
    23

    Clear content of cell if has some character.

    Hello, after converting text to Excel I have some strange characters in some cells. What macro would be to clear cell (make it empty) if cell has “ [ “ as part for example of  or 
    Thank you very much for attention.

  2. #2
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    Try this macro

    I have not been able to test the code with the  in the find command as the will not paste or show in the excel sheet



    Please Login or Register  to view this content.
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

  3. #3
    Registered User
    Join Date
    01-13-2005
    Posts
    23
    Hi Mudraker Thanks a lot.
    I receive error message:
    Compile error
    Named argument not found
    SerachFormat:= is highlighted blue

  4. #4
    Registered User
    Join Date
    01-13-2005
    Posts
    23
    After deleting “SearchFormat:=False” it works like charm. Thanks a lot Mudraker

  5. #5
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    glad to hear it works & that you solved the code problem

+ 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