+ Reply to Thread
Results 1 to 7 of 7

Help require to clear unwanted characters from the end

  1. #1
    Forum Contributor
    Join Date
    06-29-2014
    Location
    India
    MS-Off Ver
    2010 Windows 10 64 bits
    Posts
    1,269

    Help require to clear unwanted characters from the end

    Hi friends,
    The code is working fine with correct output but not clearing the extra characters at the end. I want to remove the unwanted characters from the cell.

    Please see the following code and suggest me a correction to remove unwanted characters which are at the end.

    Please Login or Register  to view this content.
    Any help will be appreciated.

    Thanking you in anticipation.
    Attached Files Attached Files
    Sincerely,

    mso3

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: Help require to clear unwanted characters from the end

    What spaces are you referring to, the only spaces I see are from the 21 spaces in the text formula.
    The result cell has no spaces at the end.

  3. #3
    Forum Contributor
    Join Date
    06-29-2014
    Location
    India
    MS-Off Ver
    2010 Windows 10 64 bits
    Posts
    1,269

    Re: Help require to clear unwanted characters from the end

    Hi davesexcel,
    See cell 'af8' which has extra spaces and a devanagari word which I want to remove. I have inserted a require output in cell 'ae8' for your reference.

    Hope this will help you to achieve the target.

    Thank you.

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: Help require to clear unwanted characters from the end

    Are you not just able to delete it from the formula you have

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Change it to
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    06-29-2014
    Location
    India
    MS-Off Ver
    2010 Windows 10 64 bits
    Posts
    1,269

    Re: Help require to clear unwanted characters from the end

    No, The width of column 'B' is large so I have inserted that devanagari word in it which is essential. It means 'clark' for his signature above it. I don't want it in column 'af' onwards in the recording of receipt number, date and time on register sheet. So I want to delete it from there.

    Thank you,

  6. #6
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,481

    Re: Help require to clear unwanted characters from the end

    See if you can use this,
    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    06-29-2014
    Location
    India
    MS-Off Ver
    2010 Windows 10 64 bits
    Posts
    1,269

    Re: Help require to clear unwanted characters from the end

    Hi,
    No, it's not working. It's deleting the register number in colun 'A' on register sheet which is not correct.

    I used the following macro to achieve the target and achieve it with correct output. However it's taking a long time to complete the task. Is there any way to speed up it? I have to run these two macros separately. Is it possible to merge these two macros in a single one? I used the call event but it's not working. If I run it separately then only I get a perfect output.

    Please Login or Register  to view this content.
    Thank you,

+ 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. Getting rid of unwanted characters
    By fodejimi in forum Excel General
    Replies: 5
    Last Post: 04-05-2011, 11:26 AM
  2. Need to take out unwanted characters
    By drock in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-05-2008, 02:09 PM
  3. unwanted line space - how do I clear it??
    By Ian Parry in forum Excel General
    Replies: 3
    Last Post: 01-11-2007, 08:31 AM
  4. Removing unwanted characters
    By jermsalerms in forum Excel General
    Replies: 15
    Last Post: 01-19-2006, 05:20 PM
  5. Removing unwanted characters
    By Scorpvin in forum Excel General
    Replies: 8
    Last Post: 12-05-2005, 05:10 PM

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