I'm a newbie in QC and also in VBA.
I want to fill in the actuell Releasename into the "Target release" field.

My code is:
Sub Bug_New
WizardFieldCust_Add ' Added by wizard
Bug_Fields("BG_USER_02").Value = "Development"
Bug_Field("BG_TARGET_REL").Value <font color="red"> "the release name" </font>
End Sub

How must i change my script the get the real release name and not the text "the release name".
I want to have the option to change the releasename. But at the start I wish to see the actuell release name.

Thanks a lot for help and sorry for my english