You can set auto closure of Resolved incidents via configuration in ITSM. Follow the path
Home Page-->Application Administration Console -->Custom Configuration -->Incident Management --> Advanced Options-->Rules.
You can set up Auto Closure for reolved incidents for a company from here.
Let us know how it goes.
While the configuration steps are the best way to do it, if you do need to resolve or close a set of incidents, you would first search for them; highlight them; go up to your "modify all" option (it may be on the web bar, it may be in the Actions menu - dependent on version you are on and if you are using web or windows); select "modify all" change the fields, save.
I would not recommend a macro; they do not work on the web.
Also depending what version you are on, you may be able to do it from your incident console - in 7.6.04, you can hilite multiple resolved incidents and use quick actions to close them.