Hello!
I'm using a loop to output graphs and save them directly to Word. Is there a possibility to insert a different label before each graph?


foreach var in vbk betr_insg betr_baywiss tandem betr_par betrauf_uni betrauf_haw koopaus ///
{
tab `var' hochschulart, colum
graph bar (percent)`var', over(hochschulart) blabel(total, format(%12.2fc ))
graph export Hochschulart`var'.png, replace
putdocx paragraph, halign(center)
putdocx image Hochschulart`var'.png
}


Thx !!!
I am a real beginner and am not allowed to share the dataset and don't know how to use a fake dataset ...
Sorry for that.