Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Text box max length
After Max length in a cell is reached, is there anyway to make excel
automatically tab to the next cell down and allow data entry to continue? Thanks |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Text box max length
You could do this if you used a form to enter the data and every keystroke was monitored. However the best you can do is to have this code in the sheet (or worksheet)module: Private Sub Worksheet_SelectionChange(ByVal Target As Range) l = Len(ActiveCell.Text) r = ActiveCell.Row c = ActiveCell.Column If l 255 Then Cells(r + 1, c).Select End If End Sub Unfortunately the data has to be entered before changing cells, the excess of 255 characters will still be ignored and you won't be able to edit that cell anymore! Bad luck! -- raypayette ------------------------------------------------------------------------ raypayette's Profile: http://www.excelforum.com/member.php...o&userid=29569 View this thread: http://www.excelforum.com/showthread...hreadid=565026 |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Text box max length
Thank-you that will help me get things sorted out. eb1mom
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
limit text length after importing data | Excel Worksheet Functions | |||
truncating text strings of different lengths | Excel Discussion (Misc queries) | |||
How change dimensions of data label text box in pie chart? | Charts and Charting in Excel | |||
want to remove all text characters equal to one character in length from text string | Excel Worksheet Functions | |||
want to remove all text characters equal to one character in length from text string | Excel Worksheet Functions |