Every time I try to print a single envelope, the message "the number must be between 1 and 31" pops up. I can't figure this out.

Anonymous
2010-06-17T21:03:55+00:00

Original title: the number must be between 1 and 31

Every time I try to print a single envelope, the message "the number must be between 1 and 31" pops up.  I can't figure this out.

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2012-06-24T01:08:46+00:00

I was able to fix this without creating another profile.  Unfortunately you have to do this every single time you want to print an envelope.

Select Mailings then Select Labels (do not select Envelopes yet)

In the Print Dialog Box change the label setting to a Single Label

Change both the Row and Column to 1

Now you can select Envelopes,   type in the delivery address and print.

Was this answer helpful?

200+ people found this answer helpful.
0 comments No comments
Answer accepted by question author
Suzanne S Barnhill 279.4K Reputation points MVP Volunteer Moderator
2010-06-17T21:29:49+00:00

Although I'm sure there must be an easier solution, several online sources suggest that recreating the user profile solves the problem. One way of doing this (I assume) is given at

http://www.omnitechsupport.com/forum/topic/169/when-try-to-print-envelope-get-message-the-number-must-b/

Some previous replies say that this error can occur if you have added a header or footer to the Normal template, but other users report that this occurs in a "virgin" install of Word 2007.

Another suggestion that is really only a workaround is to use envelope templates rather than the Envelope dialog; for some examples, see http://www.gmayor.com/downloads.htm for some downloadable templates.

FWIW, the "between 1 and 31 (points)" measurement usually refers to the "distance from text" of a border or page border, and I believe this error message is a rather generic one that we have seen in the past in other unrelated situations as well.

Was this answer helpful?

20+ people found this answer helpful.
0 comments No comments

50 additional answers

Sort by: Most helpful
  1. Anonymous
    2015-08-19T12:00:29+00:00

    Hi, 

    After searcing all over the web and reading all post I was not able to get rid of the error. Finally solvbed it the good old 'low level' editing mode via: 

    1. Save the word file as XML document 
    2. Open the XML file in an XML editor. 
    3. Search for the 'tag' called 'w:pgBorders' 
    4. Edit the header OR footer as per below. 

    <w:pgBorders w:offsetFrom="page"> 

    <w:top w:val="dotDash" w:sz="9" w:space="26" w:color="000064"/> 

    <w:left w:val="none" w:sz="0" w:space="13" w:color="090401"/> 

    <w:bottom w:val="none" w:sz="0" w:space="0" w:color="000000"/> 

    <w:right w:val="none" w:sz="0" w:space="13" w:color="00FF00"/></w:

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2015-04-06T17:20:12+00:00

    This worked well for me in Office 2013. However, there was only one entry and that was for HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Data Thanks for the post!

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2015-02-02T21:30:05+00:00

    Thank you very helpful. :)

    Was this answer helpful?

    0 comments No comments