+ Reply to Thread
Results 1 to 6 of 6

Macro to clear Characters

  1. #1
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2021
    Posts
    2,722

    Macro to clear Characters

    I have data which I import and have code to clear all characters that are not required, except the characters per link below

    It would be appreciated if someone could amend my code to incorporate clearing these characters



    Please Login or Register  to view this content.




    I have also posted on https://www.mrexcel.com/board/thread...cters.1173094/
    Attached Files Attached Files
    Last edited by Howardc1001; 06-07-2021 at 08:58 AM. Reason: Macro to clear Characters

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,447

    Re: Macro to clear Characters

    Please wrap your code with proper tags. Just select the code and click the # button.
    Your first ( probably manual) tag has a superfluous /

  3. #3
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2021
    Posts
    2,722

    Re: Macro to clear Characters

    I only need these characters per the attached spreadsheet to be cleared. This is the result of a PDF file being converted using Wondershare PDF Converter Pro 4

    I have shown the characters below that I need cleared using VBA

    I have code to clear the other unwanted characters



    ,___�
    Attached Files Attached Files

  4. #4
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,234

    Re: Macro to clear Characters

    Perhaps????
    Please Login or Register  to view this content.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  5. #5
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2021
    Posts
    2,722

    Re: Macro to clear Characters

    Many Thanks Sintek

    Your code works 100%

  6. #6
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,234

    Re: Macro to clear Characters

    Glad I could help...Tx for rep +

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Macro to Clear Unregconisable Characters when Data is converted from PDF
    By Howardc1001 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-03-2021, 05:08 AM
  2. Help require to clear unwanted characters from the end
    By mso3 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-21-2014, 12:19 AM
  3. [SOLVED] Macro to delete characters between 2 characters.
    By abjac in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 09-29-2014, 08:48 AM
  4. macro help with clear null characters in cells
    By Roxie#2013 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-28-2014, 10:02 PM
  5. Replies: 1
    Last Post: 06-21-2013, 04:05 AM
  6. Macro to replace European characters with non "special" English characters?
    By johanna0507 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-19-2012, 09:13 AM
  7. Clear contents if 2 characters or less
    By Bruinsfan in forum Excel General
    Replies: 3
    Last Post: 02-12-2010, 05:01 AM

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