Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I am trying to write a code to calculate efficiency of a process. Th following code gives me "Object Required' Error Please educate me. Private Sub CommandButton1_Click() Dim NetLoad As Variant Dim AveCoatWt As Variant Dim WtGain As Variant Dim solutionapplied As Variant NetLoad.Value = TextBox1.Text AveCoatWt.Value = TextBox2.Text WtGain.Value = TextBox3.Text solutiionapplied.Value = TextBox4.Text TextBox5.Value = (TextBox4 / ((TextBox1 * TextBox2 * 1000000) TextBox3)) End Sub Thank you for your help. Sye -- sazi ----------------------------------------------------------------------- saziz's Profile: http://www.excelforum.com/member.php...nfo&userid=635 View this thread: http://www.excelforum.com/showthread.php?threadid=47720 |