There appears to be a limit of 64KB for a module size, above which there may be problems. All of the modules currently are below this limit so don't expect problems in that area. Another unwritten limitation appears to be a 2000 line limit in module. See my Slow Response / Memory Problems page http://www.mvps.org/dmcritchie/excel/slowresp.htm for more information. Most of the code in this directory has a comparable web page associated with it code/buildtoc.txt is referred to in the buildtoc.htm web page. David McRitchie