title: Show Message in text box when program ends successfuly or not
body: <p>I have the below code that when it runs updates 14 tables, wondering how can I show a msg using the text boxes in the template below showing whether the subs end successfully or not.</p>
  <pre><code>[Private Sub Command0_Click()
  
     'Sub 1
      A_Forecast
      
      'Text box showing the msg OK or failed
      A_ForecastTxt &quot;OK&quot; or &quot;Not&quot;
  
     'Sub 2
      B_Forecast
      
      'Text box showing the msg OK or failed
      B_ForecastTxt &quot;OK&quot; or &quot;Not&quot;
  
     
  End Sub][1]
  </code></pre>
  <p><a href="https://i.stack.imgur.com/FszzA.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FszzA.jpg" alt="enter image description here" /></a></p>