Writing value to sheet category extracted from title block

So, i did another search and found a solution.
thank you.