Try declaring DecisionsDoc and ComplaintDoc as global variables (ie at the top of the module before any Subs). It will save you having to pass them between functions and possibly make them more robust as your code progresses.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|