I would like to know if it is possible via VBA to modify the subject of an email that is being written.

The objects always have the same form: "[project_name] - [object_name]"

The idea is that the user informs the email as above and then, after activating a macro:
The code retrieves the text entered in the object.
Identifies via a character manipulation code (that I can do) the [project_name] and the [object_name].

I'm just missing the first point.

Thank you in advance for your invaluable help.