How to use a macro to update title blocks in multiple sheets

Hi,

I have a drawing file with 30 sheets in it. All of them have title blocks filled in by hand, but now I want to change the date on all of them.

I'm trying to create a macro that will go through each sheet and change the date. I've tried recording a macro then running it, but I can only get it to work on a single sheet. Any suggestions? I've been trying to get a For loop to work for me, but I can't get the code quite right.

Thanks!

SolidworksApi macros