Easiest way is to open the workbook then start a macro recording. Unprotect
the sheet and save or save as. stop recording the macro. Then do to the
Visual basic editor where you'll find the code that does it. with minor mods
you can implant it into your Access code.
if you have any further q's email me at: mr dot smith at trearc dot com