Selecting Correct View In Macro

I want to select the view that my parametric title block references for my macro. I am currently using the below code to select the view and have had a couple of issues with the odd drawing selecting a flat pattern that is on the sheet!

<p>Set swDraw = swApp.ActiveDoc</p><p>Set swView = swDraw.GetFirstView</p><p>Set swView = swView.GetNextView</p>

Can I do something like

<p>Set swView = XXX 'a specific view on the page</p>

If so how do I 1. find out what view the title block is referencing and 2.word the code (eg getviewXX ??)??

thanks

SolidworksApi macros