
Signature
Greg Maxey/Word MVP
See:
http://gregmaxey.mvps.org/word_tips.htm
For some helpful tips using Word.
Hi Greg,
Thanks for your reply, but what I need is the code for the carriage return
in tables (equivalente to ^p) - ^w is the same as " ".
Again, thanks for your interest.
JS
> John,
>
[quoted text clipped - 8 lines]
> > simply missing ?!?
> > Tks, JS
Greg Maxey - 20 Mar 2005 18:08 GMT
Oh, I thought you just wanted to delete white space between cell text and
the end of cell marker.
The end of cell marker is defined by two characters Chr(13) and Chr(7)
You can prove this with a snippet of code the JGM has posted previouslty:
Type: John in a cell, select it and run this code:
Sub CellContent()
Dim CellText As String
Dim CelLen As Long
Dim i As Integer
CellText = Selection.Range.Text
CelLen = Len(CellText)
For i = 1 To CelLen
MsgBox "Character # " & i & " is " _
& "Chr(" & Asc(Mid(CellText, i, 1)) & ")"
Next
End Sub

Signature
Greg Maxey/Word MVP
See:
http://gregmaxey.mvps.org/word_tips.htm
For some helpful tips using Word.
> Hi Greg,
>
[quoted text clipped - 25 lines]
>>> I'm simply missing ?!?
>>> Tks, JS