Or, you can simply change the command to give a direct call to the text property.

frmMain.sbStatusBar.Panels(1).Text = "My Test Text"