Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default PLEASE HELP! ASP to Excel Convert hard to soft return


I am currently pulling in some information form a data base into an asp
page
which is then output to an excel web page. My issue I am having is if
I
use...

Code:
--------------------
<% Response.Write Replace(rsx("Text"), vbCrLf, <br)%
--------------------
It makes the data jump to the next cell instead of keeping it all in one
cell.
I've tried programming for a soft return...

Code:
--------------------
<% Response.Write Replace(rsx("Text"), vbCrLf, chr(10))% or
<% Response.Write Replace(rsx("Text"), vbCrLf, chr(13))% or
<% Response.Write Replace(rsx("Text"), vbCrLf, chr(10)&chr(13))%
--------------------
or

Code:
--------------------
<% Response.Write Replace(rsx("Text"), vbCrLf, chr(13)&chr(10))%
--------------------
but they just don't take.

I've even tried the alt special character 10.
Does any one know if there is any possible way to maintain the
formatting
within one cell?


--
theogtlc
------------------------------------------------------------------------
theogtlc's Profile: http://www.excelforum.com/member.php...o&userid=36996
View this thread: http://www.excelforum.com/showthread...hreadid=567198

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
Is there a way to insert a soft return into a single cell Jax_R Excel Discussion (Misc queries) 2 June 5th 07 07:12 PM
soft return Josie Excel Discussion (Misc queries) 4 May 18th 06 05:23 PM
Asci equivalent of soft return (alt+enter) Andibevan Excel Programming 3 February 24th 06 09:36 AM
Hard breaks in text to soft breaks in Excel tbailey Excel Discussion (Misc queries) 6 July 28th 05 02:35 AM
Hard breaks in text to soft breaks in Excel tbailey Excel Programming 2 July 26th 05 04:06 AM


All times are GMT +1. The time now is 07:20 PM.

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"