On Nov 28, 10:29 am, The Dude <TheD...@discussions.microsoft.com>
wrote:
> Hi,
>
> If you want your combobox to have the value from the start, insert this code
> in the form modules:
>
> Private Sub UserForm_Initialize()
> ComboBox1.ListIndex = 0
> End Sub
> "vivek.kar...@gmail.com" wrote:
> > Hello,
[quoted text clipped - 9 lines]
>
> > Vic
Hello,
Thanks for the reply, however when i use the code snippet i get a Run
time error 424- Object required. I am guessing that ComboBox1 needs to
referenced to get a handle on the ListIndex property. I am using a
Combo Box from the forms toolbar. Putting a Javascript perspective in
place i guess i need to call reference ComboBox1 like this
WorkBook.Worksheet.ComboBox1
Not sure about the syntax.
Thanks again
The Dude - 28 Nov 2007 17:10 GMT
That would be more something like userform1.combobox1
> On Nov 28, 10:29 am, The Dude <TheD...@discussions.microsoft.com>
> wrote:
[quoted text clipped - 35 lines]
>
> Thanks again