+ Reply to Thread
Results 1 to 4 of 4

Use VBA to replace continuous space to tab

  1. #1
    Forum Contributor
    Join Date
    02-18-2014
    Location
    hk
    MS-Off Ver
    Excel 365
    Posts
    105

    Use VBA to replace continuous space to tab

    Hi All,

    I have text file like attached.
    Can I use some code to replace continuous space to tab or any special char like "|"? so that I can open the file in excel.
    Many Thanks.

    atacado.txt

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: Use VBA to replace continuous space to tab

    Try
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    02-18-2014
    Location
    hk
    MS-Off Ver
    Excel 365
    Posts
    105

    Re: Use VBA to replace continuous space to tab

    Many Thanks Jindon. It's ok.
    Quote Originally Posted by jindon View Post
    Try
    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    02-18-2014
    Location
    hk
    MS-Off Ver
    Excel 365
    Posts
    105

    Re: Use VBA to replace continuous space to tab

    Many Thanks Jindon. It's ok.
    Quote Originally Posted by jindon View Post
    Try
    Please Login or Register  to view this content.

+ 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. Replacing a Space in between a Name and replace it with Dot(.)
    By Biplab1985 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-19-2015, 11:16 AM
  2. replace space in string with non-space
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-08-2012, 02:59 AM
  3. replace double space with single space within a range
    By erikd80 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-05-2011, 01:20 PM
  4. How do I replace a BEL Character of 7 with a space
    By KBear in forum Excel General
    Replies: 0
    Last Post: 06-06-2006, 10:50 AM
  5. [SOLVED] Replace a ; with a , and a space
    By Jo in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-22-2005, 10:06 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