I have a file which I have locked the project for viewing because of a need to restrict the access to the VBA code for numerous reasons. However, now I have been asked to include a feature to produce a reduced version of the file for distribution to external contacts, in doing this I do a number of things that then introduce errors into some of the macros, one of the final steps is to clear out all but the VBA that is required to make the new file function. However, I cannot get the file to clean itself becuase it is protected.
Does anyone know a way around this?
Thanks,