Getting started with VBA in Office
Office VBA reference topic