Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Default value for a ListBox (http://www.outlookbanter.com/outlook-vba/71918-default-value-listbox.html)

ExcelLars May 14th 08 11:16 AM

Default value for a ListBox
 
I have a userform with a listbox. How can I set row 1 as defualt value
when forms open?

Sue Mosher [MVP-Outlook] May 14th 08 01:34 PM

Default value for a ListBox
 
ListBox1.Selected(0) = True

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"ExcelLars" wrote in message ...
I have a userform with a listbox. How can I set row 1 as defualt value
when forms open?



All times are GMT +1. The time now is 10:39 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com