How could I parse the name of the caption to the message box ? For example, if the caption of the control is Paris, I would like to insert the caption in the message box and the message there to read “There are problems with the warehouse in Paris”
Me!Command7.Caption = "Paris"
MsgBox "There are problems with the warehouse in …… !", vbOKOnly, "Warning"
Me!Command7.Caption = "Paris"
MsgBox "There are problems with the warehouse in …… !", vbOKOnly, "Warning"