Solved

Excel line breaks

Posted on 2016-10-13
1
35 Views
Last Modified: 2016-10-13
I have an excel file which I have multiple lines in setup as:-
=Speed!B6 & "ms     " & Speed!C6 & "Mbps     " & Speed!D6 & "Mbps" & CHAR(10) &
DriveSpace!B4 & "     " & DriveSpace!C4 & " / " & DriveSpace!D4&CHAR(10) &
DriveSpace!B5 & "     " & DriveSpace!C5 & " / " & DriveSpace!D5&CHAR(10) &
DriveSpace!B6 & "     " & DriveSpace!C6 & " / " & DriveSpace!D6&CHAR(10) &
DriveSpace!B7 & "     " & DriveSpace!C7 & " / " & DriveSpace!D7&CHAR(10) &
DriveSpace!B8 & "     " & DriveSpace!C8 & " / " & DriveSpace!D8&CHAR(10) &
DriveSpace!B9 & "     " & DriveSpace!C9 & " / " & DriveSpace!D9

Open in new window


Which works fine in excel, however when I copy it to another program (in this case Access or notepad) its all on one line.

Any idea how I can have multiple lines in an excel cell, and when I copy it out to notepad its also on multiple lines?
0
Comment
Question by:tonelm54
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 51

Accepted Solution

by:
Rgonzo1971 earned 500 total points
ID: 41841755
Hi,

pls try

=Speed!B6&"ms     " & Speed!C6 & "Mbps     " & Speed!D6 & "Mbps" & CHAR(13)  & CHAR(10) &
DriveSpace!B4 & "     " & DriveSpace!C4 & " / " & DriveSpace!D4& CHAR(13)  & CHAR(10) &
DriveSpace!B5 & "     " & DriveSpace!C5 & " / " & DriveSpace!D5& CHAR(13)  & CHAR(10) &
DriveSpace!B6 & "     " & DriveSpace!C6 & " / " & DriveSpace!D6& CHAR(13)  & CHAR(10) &
DriveSpace!B7 & "     " & DriveSpace!C7 & " / " & DriveSpace!D7& CHAR(13)  & CHAR(10) &
DriveSpace!B8 & "     " & DriveSpace!C8 & " / " & DriveSpace!D8& CHAR(13)  & CHAR(10) &
DriveSpace!B9 & "     " & DriveSpace!C9 & " / " & DriveSpace!D9

Open in new window

Regards
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question