View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Dave Peterson Dave Peterson is offline
external usenet poster
 
Posts: 35,218
Default incorrect displaying of "alt-enter"

Make .wraptext = true

(format|cells|alignment tab if you want to record a macro when you do it)

M John wrote:

Hello,
I'm having trouble how to automatically correct this problem.

The output from a macro looks like this: 2.1671.0339.604
where the 's are "alt-enter", which is to say that this should look like:
2.167
1.033
9.604

If I...
1) double click in the cell, as if to edit it, and then hit the "enter" key,
it's corrected
2) (similarly) hit the "F2" key, and then "enter" it's also corrected

Is there something that I can add to the macro to correct this in the macro?

Many thanks,
M John


--

Dave Peterson