First thing I always suggest: do what you want to do using the macro recorder. The macro that you create will show you almost all the code you need.