Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Can't get multiple lines in cell from access table (transfersprea.
Hi Will,
Select all of your data Edit == Replace == in the find box type || == in the replace box, with the Alt key depressed, type 010 == uncheck the Find entire cells only option | Hit Replace All Note that typing Alt-010 enters an invisible character. If this is not a one-off requirement, or you want to do this programmatically, try: Sub Tester() Dim Rng As Range Set Rng = ActiveSheet.UsedRange ' <<=== CHANGE TO SUIT Rng.Replace What:="||", _ Replacement:="" & Chr(10), _ LookAt:=xlPart, _ SearchOrder:=xlByRows, _ MatchCase:=False End Sub --- Regards, Norman "Will Coats" <Will wrote in message ... Using vbcrlf to populate Access table cells with multiple lines. Use transferspreadsheet and need to see multiple lines in cells in Excel spreadsheet. Instead see || inplace of vbcrlf in Excel cells. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Can't get multiple lines in cell from access table (transfersprea.
Hi Will,
Should add, to type Alt 010, use the numeric keypad. --- Regards, Norman "Norman Jones" wrote in message ... Hi Will, Select all of your data Edit == Replace == in the find box type || == in the replace box, with the Alt key depressed, type 010 == uncheck the Find entire cells only option | Hit Replace All Note that typing Alt-010 enters an invisible character. If this is not a one-off requirement, or you want to do this programmatically, try: Sub Tester() Dim Rng As Range Set Rng = ActiveSheet.UsedRange ' <<=== CHANGE TO SUIT Rng.Replace What:="||", _ Replacement:="" & Chr(10), _ LookAt:=xlPart, _ SearchOrder:=xlByRows, _ MatchCase:=False End Sub --- Regards, Norman "Will Coats" <Will wrote in message ... Using vbcrlf to populate Access table cells with multiple lines. Use transferspreadsheet and need to see multiple lines in cells in Excel spreadsheet. Instead see || inplace of vbcrlf in Excel cells. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I export multiple lines of data from a pivot table? | Excel Worksheet Functions | |||
Quick access toolbar in Excel (Office) 2007 - multiple lines possible? | Excel Discussion (Misc queries) | |||
Display multiple lines of text within a cell from multiple column. | Excel Worksheet Functions | |||
Display Row label covering multiple lines in Excel Pivot Table | Excel Worksheet Functions | |||
Multiple MS Access table sources for pivot table | Excel Discussion (Misc queries) |