Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Excel line breaks

Posted on 2016-10-13
1
Medium Priority
?
47 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 53

Accepted Solution

by:
Rgonzo1971 earned 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
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 will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

604 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