Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I export multiple lines of data from a pivot table? Pluff Excel Worksheet Functions 2 March 27th 09 01:12 AM
Quick access toolbar in Excel (Office) 2007 - multiple lines possible? Peter Creyf Excel Discussion (Misc queries) 3 July 31st 07 12:56 AM
Display multiple lines of text within a cell from multiple column. Zeeshan Zaheer Excel Worksheet Functions 3 August 23rd 06 10:08 AM
Display Row label covering multiple lines in Excel Pivot Table Marty Excel Worksheet Functions 1 April 7th 06 01:56 PM
Multiple MS Access table sources for pivot table fbj Excel Discussion (Misc queries) 5 August 15th 05 03:41 PM


All times are GMT +1. The time now is 12:15 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"