Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Carole Walker   on Aug 31 In MS Office Category.

  
Question Answered By: Jamie Williams   on Aug 31

Use Evaluate(). Draw a new form  with two text  boxes on it
and add this sub to the code. Type your expression (=200+786+900+3)
into TextBox1 and click the Tab key.

Private Sub TextBox2_Enter()
TextBox2 = Evaluate(TextBox1.Value)
' or TextBox2 = Evaluate(TextBox1.Text)
End Sub

Share: 

 

This Question has 2 more answer(s). View Complete Question Thread

 


Tagged: