Results 1 to 8 of 8

VB Code to delete last character

Threaded View

  1. #1
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    VB Code to delete last character

    Hello:

    Please refer to sample txt file as attached.
    I need a vb code to delete the last 8 characters of line#5

    As in the attached file, Line # 5 is
    RX408282,20150630,,,,,,,,

    and it needs to be

    RX408282,20150630

    Please let me know if you have any questions.
    Thanks.

    Riz
    Attached Files Attached Files
    Last edited by rizmomin; 07-07-2015 at 07:33 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Faster code to delete character "#"
    By Villalobos in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-01-2015, 04:26 AM
  2. Code to delete text left of a specific character
    By Yoshi64 in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 10-21-2014, 05:38 AM
  3. [SOLVED] Delete any character after the 7th character
    By plank in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-26-2012, 04:54 AM
  4. Macro to find character and delete all text in cell after the character
    By SpencerRichman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-01-2012, 06:08 PM
  5. macro code to identify fonts character by character
    By Orzabal in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-01-2007, 04:52 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