In Excell things like this are easy. Just start recording a macro, do what you want, stop it, then look at the code.
FYI,
If you are trying to manipulate Excel from Access create the macro within excell then just call to that macro from access using an excel object.
-TJ