Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-11-2019, 03:22 AM
nd2828 nd2828 is offline Word limt on text box Windows 10 Word limt on text box Office 2019
Novice
Word limt on text box
 
Join Date: Sep 2019
Posts: 2
nd2828 is on a distinguished road
Default Word limt on text box

Hi



Please can someone help.
I want to set a word limit on a text box of 1000 words.
I have been able to set the character limit to 1000 characters on a legacy form text form field and then protecting the word doc. But this does not suit.

Could an expression be used in the properties field? Would VBA be better? Or is there an alternative solution to adding a word limit to a text box.
Does anyone know how to set a word limit on a textbox in word?

Thanks in Advance
Reply With Quote
  #2  
Old 09-11-2019, 06:44 AM
Charles Kenyon Charles Kenyon is offline Word limt on text box Windows 10 Word limt on text box Office 2016
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,081
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

The term "text box" has multiple meanings. Is this part of a vba userform? An ActiveX control? A graphic textbox in the document?


Why does the protected form method not suit?
Reply With Quote
  #3  
Old 09-11-2019, 07:24 AM
nd2828 nd2828 is offline Word limt on text box Windows 10 Word limt on text box Office 2019
Novice
Word limt on text box
 
Join Date: Sep 2019
Posts: 2
nd2828 is on a distinguished road
Default

Quote:
Originally Posted by Charles Kenyon View Post
The term "text box" has multiple meanings. Is this part of a vba userform? An ActiveX control? A graphic textbox in the document?


Why does the protected form method not suit?
Sorry probably wasn't clear. I'm open to which ever type of text box has the ability to restrict word limits as opposed to character limits.


I have tried using the following:
  1. Text box - Insert tab then draw text box - Couldn't see how to restrict characters so assuming you cant restrict words.
  2. Rich text content control - Developer tab then Rich text content control - Couldn't see how to restrict characters so assuming you cant restrict words.
  3. Plain text content control - Developer tab then Plain text content control - Couldn't see how to restrict characters so assuming you cant restrict words.
  4. Text form field - Developer tab then Legacy tools then Legacy forms then Text form field - In properties I was able to set the type as Regular text then set the maximum length field to 1000, however this is 1000 characters not 1000 words. There is a Calculation type where an expression could be entered if anyone knows of one?
  5. Text box (Active X control) - Developer tab then Legacy tools then Active X controls then Text box (Active X control) - In properties I was able to set the MaxLength field to 1000, however this is 1000 characters not 1000 words. There is a VBA option for this box so assuming that there could be some code assigned to the box?

Protecting the document was good for allowing just editing the text boxes.

Hopefully that makes more sense?
Reply With Quote
Reply

Tags
textbox, validation, word limit

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Word limt on text box Word changing my body text to heading text when I apply paragraph numbering ddiemetric Word 1 01-17-2017 01:10 PM
VBA Word - Find Text Font Color - Insert New Text jc491 Word VBA 2 01-04-2016 05:42 PM
Word limt on text box Macro Needed To Convert Text in Word to Plain Text and Back to Word rsrasc Word VBA 5 12-18-2015 07:13 AM
Microsoft Word macro to find text, select all text between brackets, and delete helal1990 Word VBA 4 02-05-2015 03:52 PM
Word limt on text box Word 2003 - IncludeText Does Not Include Bookmark Text if in a Form Text Control skarden Word 1 12-12-2011 10:39 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:55 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft