How to get Drawing Sheet Template Information By Macro?

Hi,

I have created a Macro for Solidworks drawing to update the Title Block, For that I have created one User form to select whether it is A-Sheet Template or B-Sheet Template. Instead of this, How can I get Sheet template information by Macro? Thanks in Advance.

SolidworksApi macros