Run the macro recorder and (slowly, checking each dialog box option) do it by hand.
You can control all sorts of aspects if you need to.
Then you have the VBA code you need.
The code is very simple if you don't need those options, but see for yourself.