Deleting a Sheet format from Template using API

Afternoon All,

I have a drawing already open which has 2 sheets on. I want to create a macro that goes to the second sheet and deletes the drawing format leaving no border or title block. Infact id like to delete everything on that sheet apart form the views.

Does anyone have any code or macro's that do this? The record function doesn't seem to work with this task.

Many Thanks

Nick

SolidworksApi macros