Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Is it possible to intercept the ALT-ENTER function?
I need to be able to prevent people from doing ALT-ENTER within cells as I extract the information into text files for reporting purposes and as a result the data is formatted incorrect (as it see's each new entry within a cell as a new line in the text file). Is it either possible to not allow this, or alternatively to be able to detect where it's been done and replace with a comma and a space? That way I could run this macro which corrects the formatting before the text file is created? Appreciate your help on this. Many Thanks, Al Mackay ( ) |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
DO a search and replace using Chr(10) as the search string. Regards, Jan Karel Pieterse Excel TA/MVP -----Original Message----- Is it possible to intercept the ALT-ENTER function? I need to be able to prevent people from doing ALT-ENTER within cells as I extract the information into text files for reporting purposes and as a result the data is formatted incorrect (as it see's each new entry within a cell as a new line in the text file). Is it either possible to not allow this, or alternatively to be able to detect where it's been done and replace with a comma and a space? That way I could run this macro which corrects the formatting before the text file is created? Appreciate your help on this. Many Thanks, Al Mackay ( ) . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do i hide carriage returns? | Excel Discussion (Misc queries) | |||
Carriage returns - how to get rid of them (again) | Excel Discussion (Misc queries) | |||
Formula for Carriage Returns | Excel Discussion (Misc queries) | |||
Delete Carriage Returns | Excel Discussion (Misc queries) | |||
Carriage returns | Excel Discussion (Misc queries) |