Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 07-19-2014, 12:32 AM
macropod's Avatar
macropod macropod is offline Inputting a number into word in a specific format Windows 7 32bit Inputting a number into word in a specific format Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

The use of the two content controls was done to ensure valid data entry. Although one can use the calendar control to pick a date, it's also possible to type one into it (in any valid date format) and let the control re-format it with the YYYYMMDD format as soon as it's exited. Although I haven't implemented it, the ContentControlOnExit macro could also be used to ensure the date entered into this control falls within a valid range (e.g. a date between 1.1.2000 and today).

Similarly, although the second one allows the user to input a number in any format, it will re-format the number to the #### ### format when that content control is exited.

The second control's reformatting, and the space between the two content controls delivers the spacing you say you need. All it takes to exit either content control is to press the Tab key or to click anywhere else in the document.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Inputting a number into word in a specific format How to format a TOC (level 1) using a number, but have the number hidden in the text porpoiseoil Word 1 09-13-2014 12:53 PM
Inputting a number into word in a specific format Inputting 339 supplier names into individual Word documents Aron19 Mail Merge 3 04-29-2014 04:41 PM
Change from General Format to number format gbaker Excel 3 08-16-2013 01:04 PM
Inputting a number into word in a specific format Applying specific format to doc jrodriguez Word 3 07-23-2012 08:38 PM
Inputting a number into word in a specific format Word DOC(X) help - Export to specific format question. archerman Word 3 12-28-2010 11:46 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:56 PM.


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