Closed Thread
Results 1 to 3 of 3

Exporting to text file with carriage returns

  1. #1
    Registered User
    Join Date
    09-20-2017
    Location
    England
    MS-Off Ver
    2010
    Posts
    3

    Exporting to text file with carriage returns

    Hi I have the following line of code in one excel cell
    "01VINV20160229130801Jan 16 Incentive700120160101Incentive for Jan 16 GBP
    02VINV20160229130801Jan 16 IncentiveZP00655 20160101ZE07110 Incentive for Jan 16
    04VINV20160229130801Jan 16 Incentive0000514060110 0 V0MWFS Jan 16 Incentive "


    This is derived from the following formula:


    ='Copy of Payment file format'!A3&'Copy of Payment file format'!B3&'Copy of Payment file format'!C3&'Copy of Payment file format'!D3&'Copy of Payment file format'!E3&'Copy of Payment file format'!F3&'Copy of Payment file format'!G3&'Copy of Payment file

    I want to be able to save to a text file so it generates 3 lines of data, is this possible?

    thanks
    Carl.

  2. #2
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    2016
    Posts
    3,832

    Re: Exporting to text file with carriage returns

    Probably you may required a VBA so you are advice to please post it in VBA section

    Or If you have required any formula solution please specify.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  3. #3
    Forum Moderator dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Re: Exporting to text file with carriage returns

    Also posted here : https://www.excelforum.com/excel-pro...e-returns.html

    carlmeads1975, please post your question in only one sub-forum in future.
    Many thanks

    DominicB

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Extracting text at the carriage returns without hidden characters
    By JimDandy in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-23-2017, 12:20 PM
  2. [SOLVED] Remove carriage returns from end of text in cells on worksheet
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-15-2015, 02:19 PM
  3. [SOLVED] Referencing text fields with in cell carriage returns
    By cadmanweyland in forum Excel General
    Replies: 4
    Last Post: 04-18-2013, 09:41 PM
  4. [SOLVED] Clearing the carriage returns in a cell with text
    By dwhite30518 in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 07-05-2012, 11:59 AM
  5. [SOLVED] New Column From Carriage Returns In .CSV File
    By jasono in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-13-2012, 08:40 AM
  6. Replies: 1
    Last Post: 11-05-2010, 06:09 PM
  7. Replies: 3
    Last Post: 11-17-2005, 03:10 PM

Tags for this Thread

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