Rename sheet in drawing file with multiple custom properties

Hi to all

I'm here to ask if someone know a way to rename the sheet in a drawing with multiple custom properties, for sample:

I have an assambly file where A is the code of assembly and A1, A2, A3... are the sub parts of its, I put the assembly file and all sub parts in the same drw file, sheet 1 assembly A, sheet 2 part A1, sheet 3 part A2 ..., now i want rename automaticaly the sheet with the follow custom proprety, code-revision-revision_date.

I found here a macro for rename with only one custom proprety, but I need with multiple custom proprerty

Rename SOLIDWORKS drawing sheets with custom properties values 

Can someone helpme?

Thanks

SolidworksApi/macros