Hmm, if you remove the references to the StoryRanges collection, I think the macro should search the whole document automatically.
The alternative is to make sure that Word looks in all so-called story ranges. For the basic idea, take a look at the example macro at
http://www.gmayor.com/installing_macro.htm. You should be able to use it as a starting point. Again, I don't think this approach will be necessary...