A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Default value for a ListBox



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old May 14th 08, 11:16 AM posted to microsoft.public.outlook.program_vba
ExcelLars
external usenet poster
 
Posts: 19
Default Default value for a ListBox

I have a userform with a listbox. How can I set row 1 as defualt value
when forms open?
  #2  
Old May 14th 08, 01:34 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default 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?

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Distribution List Listbox gp[_2_] Outlook - General Queries 1 January 1st 08 09:22 PM
ListBox SelectedItem to TextBox JP Outlook - Using Forms 1 August 1st 07 01:42 PM
Populating listbox Syl Outlook and VBA 3 March 13th 06 08:42 PM
multiselect Listbox value Michael Anderson Outlook and VBA 2 February 13th 06 03:13 AM
Get text from keyword Listbox Michael Anderson Outlook - Using Forms 4 February 6th 06 07:25 PM


All times are GMT +1. The time now is 10:41 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-2025 Outlook Banter.
The comments are property of their posters.