............ Have a nice day............
USER MENU ID IS UNDEFINED IN FINACLE MIS SERVER   Date of Implementation of "VERY GOOD" Bench Mark for MACPs effect from 25.07.2016   Expected DA from Jan 2017 – 3% or 2% ?    One minute talk time for each Rupee in Airtel Payments Bank   AICPIN for October 2016 : Chances for 5% DA from January 2017   Central Government employees retiring from January 2017 to submit online application   Pre-Budget Views of Govt. Employees for inclusion in the Budget for the Year 2017-18: Confederation i.e. Scrap NPS, Minimum Wage Rs. 26,000 & Fitment Formula etc   On Salary Week, Banks Unlikely to Meet Demand for Extra 1 Lakh Cr   82 per cent ATMs dry because government used that money to pay its own employees   National Anthem Before Movie, Rules Supreme Court. Citizens 'Duty-Bound' To Show Respect    undefined

Thursday, 4 September 2014

How to Prohibit Use of The Enter Key in a Word 2010 Form


microsoft-word-logo

You have just created a form and it is based on a table format so that all the entries are aligned. You have included form fields in both text and numeric format and have set a field length for each, which prevents the person using your form from exceeding a certain length.
BUT, that person using your form can still click the Enter key and add blank lines to your form, causing the alignment to go awry.
You could disable the Enter key on your computer, but that would disable it for the entire document. Also, you would have to use a macro to disable the key and that macro can always be disabled causing the Enter key to be again enabled.
INSTEAD, you can modify the manner in which your table is set up.
Follow the steps below to learn how:

  1. Unprotect your form.
  2. Select the table that contains your form fields.
  3. Right-click the selected table and select Table Properties from the Context menu to display the dialog box.
  4. Be certain the Table tab is displayed on your Ribbon.
  5. Click the Options button to display the dialog box.
table-options
  1. Be certain the Automatically Resize to Fit Contents check box is deselected.
  2. Click OK.
  3. Display the Row tab.
Row-Tab
  1. Be certain the Specify Height check box is selected and specify an exact height for your rows.
  2. Click OK.
  3. Protect your form.
No, the steps above will not prevent a user from clicking the Enter key, bit it will surely stop them from fiddling with your table format if they DO click Enter!
Since they will not be able to see what they key in after clicking Enter, they will very soon figure out that pressing the Enter key is not something they should do!

No comments:

Post a Comment