... save time. You can use the macro recorder to record the macro or write your own macro script in VBA. ... Excel 2010.
office.microsoft.com