+ Reply to Thread
Results 1 to 3 of 3

Line break like \n in Excel while loading database values into excel

  1. #1
    Registered User
    Join Date
    11-05-2013
    Location
    Chennai
    MS-Off Ver
    Excel 2010
    Posts
    2

    Angry Line break like \n in Excel while loading database values into excel

    Hai all,
    While i getting values from mysql and loading them into an excel file,i came across line breaks and stucked... \n ,\r\n not working....can anyone explain the line break syntax in excel and openoffice calc..???

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Line break like \n in Excel while loading database values into excel

    Within a cell, you can line break with Alt+Enter.

    You could also concatenate char(10), but you will need to make sure Word Wrap is enabled.

    Example: ="chennai"&char(10)&"is"&char(10)&"awesome" would appear as

    chennai
    is
    awesome

    in a single cell, if Word Wrap in enabled.
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Registered User
    Join Date
    11-05-2013
    Location
    Chennai
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Line break like \n in Excel while loading database values into excel

    Yeah...it's working...thanks alot.

+ 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: 12
    Last Post: 06-22-2016, 01:11 PM
  2. Copy pasting from Excel issue - NEW LINE/LINE BREAK
    By denneboom in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-10-2012, 10:18 AM
  3. Copy pasting from Excel issue - NEW LINE/LINE BREAK
    By denneboom in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 09-07-2012, 06:41 AM
  4. Copy pasting from Excel issue - NEW LINE/LINE BREAK
    By denneboom in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-07-2012, 06:40 AM
  5. Excel Line Chart Issue Break line
    By tazdepage in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-23-2008, 03:01 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