|  | 
|  | 
| 
			 
			#1  
			 
			
			
			
			
		 | |||
| 
 | |||
|  Limit lines of text in Word Table Cell 
			
			This is not a question, just a post to follow up on: https://www.msofficeforums.com/word-...able-cell.html A dozen years or so ago, out of general frustration with Microsoft's half baked Content Control events, I developed a VBA process for the purpose of detecting user changes made while typing in a content control. It is not pretty or easy but solved a problem I had at the time. Some time later, I discovered that I could use a similar process to create Word table cell events i.e., OnEnter, OnExit and OnChange: Word Table Change Events In that article I had demonstrated limiting cell text to a set character count e.g., 10 characters or 25 characters. In the attached document, I have changed Paul's procedure to a function and incorporated it to demonstrate a method of limiting text to a set line count. Constructive comments or suggestions for improvement always welcome. | 
|   | 
|  | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
|  How to count the number of lines in a Word table cell | BillH45 | Word VBA | 7 | 10-23-2025 09:02 AM | 
| VBA-Table Word 2019 - Select and move a text from one cell to the adjacent cell to its right, after | cdl | Word Tables | 1 | 02-05-2023 10:34 PM | 
| Pasting text from Excel cell into word without creating a table, and keeping the in-cell formatting | hanvyj | Excel Programming | 0 | 08-28-2015 01:15 AM | 
| Text Wrapping on Fixed Lines in a Form field/Table cell | okrmjr | Word Tables | 0 | 10-30-2009 08:52 AM | 
| Auto-populate an MS Word table cell with text from a diff cell? | dreamrthts | Word Tables | 0 | 03-20-2009 01:49 PM |