Hi,
I have an excel user form called 'Sell_Order' with 2 Text Boxes (called 'Client' and 'Account_No') that take values from cells A1 and K1 on the active sheet and also a listBox called 'Holdings' that has 5 columns of data coming from a named range 'Absolute' on a worksheet called 'Holdings'
my problem is that the Boxes don't load on the first opening but if I close it and re-open it the 3 boxes load OK.
Here is the code I have used.
Range("A1").Select
Sell_Order.Client.RowSource = "A1"
Sell_Order.Account_No.RowSource = "K1"
If ActiveCell.Value = "ABSOLUTE INVESTMENT MANAGEMENT" Then
Sell_Order.Holdings.RowSource = "Holdings!Absolute"
End If
I have tried 'Initialize and Load' but still only loads on the second opening of the user form.
I have Windows 7 Professional and Excel 14.0.473.1000 (32 bit)
Any help would be much appreciated.
Regards,
Peter