I'm setting various ranges within a Word document to be hidden. When the document is reloaded and I check to see if those same ranges are indeed hidden I get confusing values. Most of the time when I'm checking a range to see if it's hidden the value returned is either 0 or -1. True or false as expected. Sometimes I get a value of 9999999. What does this value mean

Word.Range.Font.Hidden???
The bun
I came across that one... it is WdConstants.wdUndefined
If for some reason the status can't be determined the result will be this one.
You can find it here in the list. Go to WdConstants and expand the group:
http://msdn.microsoft.com/library/default.asp url=/library/en-us/vbawd11/html/wohowConstants_HV01049731.asp
So you have to check for Hidden == 0, -1, or wdUndefined
-= Maarten =-