View Single Post
  #6   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default Is there a Character Limit for Word 2007 Headers

Okay, so that can't be the issue in this case.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org

"Greg Maxey" wrote in message
...
Yes by using the OnExit event. However, while I didn't have any problem
today, this event has been plagued with a bug since Word2007 was released
so it may not be reliable:

Private Sub Document_ContentControlOnExit(ByVal ContentControl As
ContentControl, Cancel As Boolean)
If Len(ContentControl.Range.Text) 10 Then
Cancel = True
MsgBox "The limit for this CC is 10 characters"
End If
End Sub

The code above is very basic and as written limits the text length in
"all" CCs to 10.

AFAIK, there is no equivelant to form field "Maximum length" attribute.



Suzanne S. Barnhill wrote:
But is it possible to impose a limit, as one can with text form
fields?

"Greg Maxey" wrote in message
...
On Nov 6, 12:51 pm, "Suzanne S. Barnhill" wrote:
There is no limit for the header/footer per se; the header/footer
will expand downward/upward to accommodate as much text as you want
to put in it.
If you're using one of the building blocks that contains content
controls, there may be a limit to the amount of text the CC can
contain. --
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USAhttp://word.mvps.org

"Marilyn" wrote in message

...



Hello,
Is there a max number of characters set for footers in Word 2007. I
have a
1 page document with a lot of information in the footer area and
when I hit
enter on the last line I can’t see anything that I'm typing. I have
cleared
the formatting but I still can’t see any new information being typed
after
the last line.

Any Help is appreciated.- Hide quoted text -

- Show quoted text -


Ms Barnhill,

Nothing to indicate CC text is limited he

http://support.microsoft.com/default.aspx/kb/211489


--
Greg Maxey

See my web site http://gregmaxey.mvps.org
for an eclectic collection of Word Tips.

Arrogance is a weed that grows mostly on a dunghill (Arabic proverb)