Sheet.TitleBlock returns null when there is a TitleBlock in the drawing

I'm trying to retrieve the highlighted cell from my drawing's TitleBlock as seen in the attached image. However, whenver I attempt to get the TitleBlock it returns null.

Here's the part of my code(C#):

swDraw = (DrawingDoc)swDoc;

Sheet swSheet;

swSheet = (Sheet)swDraw.GetCurrentSheet();

swTitleBlock = (TitleBlock)swSheet.TitleBlock;

swSheet.GetName() returns sheet1 as expected, but swSheet.Titleblock return null.

I have no clue why this is. If anyone has any idea or has an alternative method to retrieving the information I need please let me know.

SolidworksApi macros