line break

  1. J

    VBA code for scan cell and do line break before specific letter sequence.

    Hi, I have a macro I would like to make but I am not very proficient in VBA coding and are having a hard time finding anything similar that i could tweak to work. What I would like to do is to scan a column and then do a line break before a specific sequence of letters. Secondarily I would...
  2. Wad Mabbit

    minimise space in cell with a line break in the Date format

    I'musing Ctrl+J to create a line break in a date format For instance dddCtrl+JdCtrl+Jmmm;;;@ to produce ddd d mmm However, I get a wide indent, so much of the idea is wasted, like: ddd d mmm What I'm trying to do is to get date information into a cell as narrow as...
  3. M

    Unable to remove 'line breaks' in cells containing addresses

    Hi This has flummoxed me. I have attached two images showing how the address details are displayed in the cells, and how they are displayed in the drop down preview section. As you can see there is the odd square symbol representing a line break in the main cell section and the line break in...
  4. R

    Remove first blank line break in Excel using VBA

    I'm using the below script to remove only blank line breaks using Chr(10). It works great, except that it doesn't remove the line break when it occurs at the beginning of the cell. I only need it to remove the first line break carriage from the top of the cell. Sub RemoveBlankLines()...
  5. N

    find number of line feeds in a string

    Hi, I have a program where text to be displayed could be 1 or multiple lines. I want to display the text in a specific form and I have multiple forms for 1-line, 2-lines, 3-lines, etc. All good as long as I know how many lines are being required. In some cases though, I don't know that, so I...
  6. I

    What function or VBA can I use with Line Breaks in Cell

    Hello, I have tried using Index Match and Vlookup but keep getting no results. I even format to wrap and set all data to match format. I would like something similar to the screenshot below. I need a function or VBA that would pull from a cell with line breaks and output with line breaks...
  7. Z

    Macro to adjust line break in a text box

    Hi, I have below macro, what it does: It count the characters of concerned text and then add a line break whenever the text exceeds the text box size, then add this sentence "[more detail available in System]" in the last line of the text box. What I'm facing right now is: the text in text box...
  8. Z

    Carriage Return or Line Break or ALT+Enter in Cell problem

    Why Carriage Return or Line Break or ALT+Enter adding automatically in every excel cell ? is it a virus or corrupted excel software because I did not put anything its auto adding in every cell ? I have reinstall office 2013 many times and windows 7 also but same problem every time. please help...
  9. D

    Replace " </p><p>" with new line using regular expressions

    I am trying to replace " " with a new line in visual basic using regular expressions. I tried to find: ([\s]*)("") and replace with: \n\n. However, in my text is replaced but with "\n\n", not two physical new lines. I also tried to replace it with \r\r, but it does the same.
  10. M

    Help with import TXT files with transposed lines into columns

    Hey guys, I need your help with this case (sorry for the bad english :) ) I have this TXT file with payment details for each person divided by a line containing the name and year of the record, a new line with CPF number, and columns for each type of record (there are 7 colums, with headers)...
  11. M

    Splitting an Address equally in 2 columns

    Hi Everyone, First time poster, hope I am following all the rules. My dilemma right now is: I have an excel with around 3000 office addresses all in a single column, I need to split this in two (i:e, Address becomes, Address 1 and Address 2) For EG: <tbody> Address Address 1 Address 2...
  12. C

    Concatenate with a Line Break BUT....

    Hello! I have a exit interview survey that individuals are able to select multiple reasons as to why they are leaving the company. When I pull the raw data it puts all the reasons they selected into a new column. I would like to put all the reasons into one cell, which I can do using the...
  13. A

    Line breaks in text boxes linked to cell

    Hi everyone, I was wondering whether it's possible to insert line breaks into a text box's text linked via formula to a cell. For example, Cell A1: "Hello, pleased to meet you. I'd like to buy an apple" text box: =A1 -> text box displays the following with no line breaks [ Hello, pleased to...
  14. I

    How to Remove specific characters from all lines in a cell

    Good Evening every one, I've small problem in following case, your help is appreciated. In a Cell i've following data <tbody> 1. One 2. Two 3. Three </tbody> Now i want remove first 3 characters from each line and remove linebreaks and make as comma separated values. O/p ...
  15. R

    Insert a line break after every 42 characters

    Hi All, I need a formula to insert a line break after every 42 characters in a cell , example if there is 266 characters in a cell there should be 6(266/42)line breaks. =REPLACE(REPLACE(A1,42,0,CHAR(10)),84,0,CHAR(10)) I tried this but i am not sure how to get the start num to change to...
  16. R

    Combining multiple text cells into dedicated single cell, and inserting line break to separate text bulk in the dedicated single cell?

    Hello, I need to combine multiple product description texts which are in their own cells into a one single dedicated overall description cell which will encompass all the bulk texts from those separate cells, however not make all the text flow in single string without line breaks. Required...
  17. R

    Macro to insert a Line break at the end of the text of the cell in excel file

    Hello, To manually insert a line break at the end of the text of the cell in excel file the solution is "ALT + Enter" But I like to create a macro in the excel file which will do same but to the entire column. Thanks, Ram
  18. H

    Format word wrap/breaks to appear as separate row in sheet

    I have an excel sheet that is exported from an access report. The excel file automatically resizes columns and wraps text, etc. One of the columns on this sheet contains about a paragraph's worth of information. My question is: is it possible to somehow format all cells in this (or all)...
  19. P

    Conditional Format STOPS at linefeed (line feed, line break)

    In 2003 Conditional Format would format (font) the whole cell. It appears that 2010 stops the formatting after a linefeed? Is this right? ie. is it my configuration/system? Is it configurable? Is there a workaround? Thanks very much.
  20. K

    Remove line break for the last line only

    Hi, I wondered if anyone could help with my query. I have an excel spreadsheet that is produced by a report that pulls address into one of the columns that I use for a mailmerge. The problem is that at the end of almost all of these addresses there is an additional line break at the end or...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top