+ Reply to Thread
Results 1 to 4 of 4

Column to delimited text box, then back to column

  1. #1
    Registered User
    Join Date
    01-18-2017
    Location
    NYC
    MS-Off Ver
    2000
    Posts
    2

    Column to delimited text box, then back to column

    Hello, I was wondering if any of you would know how to do this in Excel using VBA:

    I have a very long column A containing delimited texts, such as:

    ROOF, PARAPET, METAL COPING
    BASE FLASHING, TERRACOTTA PANEL
    BRICK WALL, SIDEWALK

    I'd like to press a command button and have those columns copied onto an existing text box, which would read:

    ROOF, PARAPET, METAL COPING, BASE FLASHING, TERRACOTTA PANEL, BRICK WALL, SIDEWALK

    After which, it would convert back into a single column B:

    ROOF
    PARAPET
    METAL COPING
    BASE FLASHING
    TERRACOTTA PANEL
    BRICK PANEL
    SIDEWALK

    If there is another, better way to get from my first column to my final column, perhaps without the text box middle man, that would be great. Thanks!

  2. #2
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: Column to delimited text box, then back to column

    Try this:-
    Please Login or Register  to view this content.
    Regards Mick

  3. #3
    Registered User
    Join Date
    01-18-2017
    Location
    NYC
    MS-Off Ver
    2000
    Posts
    2

    Re: Column to delimited text box, then back to column

    Oh wow, perfect, even better than what I had envisioned! Thanks!

    I added the following into the beginning of the code so that if the list is subsequently updated to include fewer terms, the residual terms are automatically erased:

    Please Login or Register  to view this content.
    Last edited by ignetus; 01-31-2017 at 01:27 PM.

  4. #4
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: Column to delimited text box, then back to column

    You're welcome

+ 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. VBA to text to column delimited with criteria & conditions
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-05-2016, 09:38 AM
  2. Formula to take a column to row, delimited by certain text string
    By LightingPop in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-23-2015, 03:49 PM
  3. [SOLVED] Count instances of text in a comma-delimited column
    By david.aukerman in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-01-2013, 10:30 AM
  4. Text to Column Delimited with Comma [,]
    By amitkr3855 in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 01-16-2013, 03:38 AM
  5. [SOLVED] Text to column using Delimited
    By Karnik in forum Excel General
    Replies: 3
    Last Post: 11-05-2012, 10:47 PM
  6. delimited text to column in a loop
    By DFrank231 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-19-2011, 12:25 PM
  7. Text to column comma delimited
    By Hjahren in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-28-2010, 08:57 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