+ Reply to Thread
Results 1 to 5 of 5

Suppress blank character in front of line

  1. #1
    Registered User
    Join Date
    05-28-2020
    Location
    Belgium
    MS-Off Ver
    365
    Posts
    25

    Suppress blank character in front of line

    Good morning,

    The purpose of the code below is to swap the name of a file AAAA - BBB to BBB - AAAA.
    The problem is that there is a blank character in front of BBB after permutation.

    Could someone advise me?

    Thank you in advance.

    Habiler

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Arrow Re: Suppress blank character in front of line


    Hi,

    just add spaces within the delimiter when splitting the original folder name …

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,630

    Re: Suppress blank character in front of line

    So,
    Please Login or Register  to view this content.
    becomes
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    05-28-2020
    Location
    Belgium
    MS-Off Ver
    365
    Posts
    25

    Re: Suppress blank character in front of line

    Hello,

    Here is the missing code.

    I finally found the problem. The code does not stop at the end of the list (EOF) and readapt the files already processed.
    How can I stop the code at the end of the directory ?

    Please Login or Register  to view this content.
    Last edited by Habiler; 12-04-2022 at 09:34 AM.

  5. #5
    Registered User
    Join Date
    05-28-2020
    Location
    Belgium
    MS-Off Ver
    365
    Posts
    25

    Re: Suppress blank character in front of line

    Hello,

    Here is the missing code.

    I finally found the problem. The code does not stop at the end of the list (EOF) and readapt the files already processed.
    How can I stop the code (searching) at the end of the directory ?

+ 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. Replies: 3
    Last Post: 06-10-2021, 10:58 AM
  2. [SOLVED] Extra character in front of address
    By pick44 in forum Excel General
    Replies: 3
    Last Post: 03-16-2020, 12:29 PM
  3. Adding a special character in front of a particualrs words
    By chakkaravarthy.m in forum Excel General
    Replies: 3
    Last Post: 06-19-2016, 06:12 AM
  4. ' character in front of text in cells!
    By Paco75 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-13-2012, 07:57 PM
  5. [SOLVED] How can I suppress a portion of a line graph?
    By rshalayda in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 09-21-2005, 03:05 PM
  6. suppress zero values in line charts?
    By Cruickshank Brothers in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 06-12-2005, 12:05 AM
  7. suppress zero values in line charts?
    By cruickshankbrothers in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 01-14-2005, 07:06 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