This is my code
Sub Table1_SelectionChanged (ColName, Row)
a = Row
textbox1.Text = table1.Cell("Internal",a)
textbox6.Text = table1.Cell("CldOd",a)
textbox2.Text = table1.Cell("CldFrPos",a)
textbox7.Text = table1.Cell("HtOd",a)
textbox3.Text = table1.Cell("HtFPos",a)
textbox8.Text = table1.Cell("AmtWire",a)
textbox4.Text = table1.Cell("Pph",a)
textbox9.Text = table1.Cell("WrSize",a)
textbox5.Text = table1.Cell("CycTime",a)
textbox10.Text = table1.Cell("Mach",a)
Form2.Show
form2.Refresh
End Sub
textbox10.text dumps an error code of object reference not set to an instance of an object.
If I remark it out the sub works fine. :sign0148:
dennishea
Sub Table1_SelectionChanged (ColName, Row)
a = Row
textbox1.Text = table1.Cell("Internal",a)
textbox6.Text = table1.Cell("CldOd",a)
textbox2.Text = table1.Cell("CldFrPos",a)
textbox7.Text = table1.Cell("HtOd",a)
textbox3.Text = table1.Cell("HtFPos",a)
textbox8.Text = table1.Cell("AmtWire",a)
textbox4.Text = table1.Cell("Pph",a)
textbox9.Text = table1.Cell("WrSize",a)
textbox5.Text = table1.Cell("CycTime",a)
textbox10.Text = table1.Cell("Mach",a)
Form2.Show
form2.Refresh
End Sub
textbox10.text dumps an error code of object reference not set to an instance of an object.
If I remark it out the sub works fine. :sign0148:
dennishea