Unable to save an edited Mod

Hi:
When I attempt to save a mod that I have just edited the program tells me it is unable to save, even if I try to save as etc.
Any advise?
Thanks
John