I open a workbook to extract some information.
[VBA]
Workbooks.Open Filename:="S:\PV\mydummy.xls"
UserForm2.TextBox1.Text = Range("b5")
UserForm2.TextBox2.Text = Range("b6")
UserForm2.TextBox3.Text = Range("b7")
UserForm2.TextBox4.Text = Range("b8")
UserForm2.TextBox5.Text = Range("b9")
UserForm2.TextBox6.Text = Range("b10")
UserForm2.TextBox7.Text = Range("b11")
UserForm2.TextBox8.Text = Range("b12")
Workbooks("mydummy").Close
[/VBA]
I would prefer this workbook not be visible.
Do I really need to open the workbook at all, ie can i read the info without the Open. This could just as well be a csv file if that is an easier fix.