If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > ALT+ENTER replaced with <% Response.Write Replace(rsx("Text"), vbCrLf, "<br>")%>????

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-21-06, 16:54
theogtlc theogtlc is offline
Registered User
 
Join Date: Jul 2006
Posts: 4
Question ALT+ENTER replaced with <% Response.Write Replace(rsx("Text"), vbCrLf, "<br>")%>????

Ok I know this question is going to be all over the map. First of I have an ASP sight which pulls info from a database and then is formatted to a excel web sheet.

My problem is, is that when ever the customer inputs thier info with a <ENTER> or vbCrLf it causes the data to shift to a new cell row. Yet if I don't do the ....
Code:
<% Response.Write Replace(rsx("Text"), vbCrLf, "<br>")%>
It all remains in one cell.

In excel to have a character return you have to ALT+ENTER

does any one know if there is a value for this key combination that will work?
Reply With Quote
  #2 (permalink)  
Old 07-21-06, 22:16
shades shades is offline
Registered User
 
Join Date: Oct 2003
Posts: 1,091
Not sure what you mean, but this works:

=CHAR(10)
__________________
old, slow, and confused
but at least I'm inconsistent!

Rich
(retired Excel 2003 user, 3/28/2008)

How to ask a question on forums
Reply With Quote
  #3 (permalink)  
Old 07-24-06, 09:59
theogtlc theogtlc is offline
Registered User
 
Join Date: Jul 2006
Posts: 4
Unhappy not working

Code:
char(10)
chr(10)
char(13)
chr(13)
chr(10)&chr(13)
any combonation of the above doesn't work

Code:
vbCr
vbLf
don't work
Code:
ALT 10
no success

Anyone else have any ideas???
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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