Hi,
Like a lot off things the count off pages in a word document depends entirely on the system resources you're running.
So you can not say Word can hold 400 Pages Max! (on this system maybe 400 and on the other perhaps 500)
Problem with documents with a lot of pages in them is that they corrupt easily!
In you're VBE editor just type in String in the help box and look up the string Data Type. The spec's of what a string can hold is in there. (I would have copy paste it for you but mine is in dutch so that's no help for you)![]()
If you wanna check the string for it's contents then use the "LEN" function to retrieve the length off the characters in it and compare that to a number you say is the Maxlength!
Enjoy!![]()