+ Reply to Thread
Results 1 to 6 of 6

To simplify text cell

  1. #1
    Registered User
    Join Date
    02-12-2016
    Location
    Paris
    MS-Off Ver
    2010
    Posts
    8

    To simplify text cell

    Hello everybody ,

    I would to know if possible in VBA to copy/past the table and to simplify a cell and arrange this one.

    So, I have a cell with some line, and would like to keep just the two firts line and arrange this one like:

    1 - initial cell:
    [A]
    12/02: test
    10/02: test

    2 - result cell:
    [A] - 12/02: test

    Thank a lot in advance for your help,
    Bruno
    Attached Files Attached Files

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,824

    Re: To simplify text cell

    Try:
    Please Login or Register  to view this content.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  3. #3
    Registered User
    Join Date
    02-12-2016
    Location
    Paris
    MS-Off Ver
    2010
    Posts
    8

    Re: To simplify text cell

    Hi Mumps1,

    It's very good, I understand now a script approach to slove this problem.

    Thanks a lot for your assitance.
    Have a nice day

  4. #4
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,824

    Re: To simplify text cell

    My pleasure.

  5. #5
    Registered User
    Join Date
    02-12-2016
    Location
    Paris
    MS-Off Ver
    2010
    Posts
    8

    Re: To simplify text cell

    I found a new problem ^^

    For exemple, if the cell is empty or we have just one line, the code stop the process.
    It's possible to ignore the empty line ?
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    02-12-2016
    Location
    Paris
    MS-Off Ver
    2010
    Posts
    8

    Re: To simplify text cell

    Solution:

    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. Is there a VBA code to simplify (linear) algebraic expressions? (using text input)
    By tahi.laci in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-28-2015, 06:11 PM
  2. [SOLVED] Simplify Code, to move row by cell criteria
    By warri0r in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-31-2013, 11:39 AM
  3. [SOLVED] Simplify text from range of text options
    By lindaroslin in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-14-2012, 12:33 PM
  4. I need to simplify a formula and have the cell reference change.
    By Frostbyte in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-09-2012, 08:22 PM
  5. Cell properties - Need to simplify this code
    By dkinnz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-19-2006, 12:44 PM
  6. [SOLVED] Simplify Cell Formulas - AGAIN
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-05-2006, 09:50 AM
  7. Simplify Cell Formulas AGAIN
    By [email protected] in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-05-2006, 09:15 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