![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi!
I am new to Outlook but i know the VBA. I need to populate many listbox's of a VBA form. Should i create access tables or is there an easier way to populate these lists using Outlook. What are the options i have? The goal of this form is to automaticly write a standardized email message with the content of the form. (I don't want to send custom forms in rtf format). Is it the best way to proceed? Thanks. |
Ads |
#2
|
|||
|
|||
![]()
VBA in Outlook works the same as VBA anywhere else. Seetting the ListBox.List property to an array is probably the simplest way to populate it. Whether you want to store the list in an Access, keep it in a text file, put it in the body of an Outlook item, or hard code it into your VBA routine probably depends on the details of your scenario that you haven't shared with us.
-- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Syl" wrote in message oups.com... Hi! I am new to Outlook but i know the VBA. I need to populate many listbox's of a VBA form. Should i create access tables or is there an easier way to populate these lists using Outlook. What are the options i have? The goal of this form is to automaticly write a standardized email message with the content of the form. (I don't want to send custom forms in rtf format). Is it the best way to proceed? Thanks. |
#3
|
|||
|
|||
![]()
Hi,
I plan to have in this form about 6 listbox. The content of these listbox when populated will be a simple column containing up to 30 items. These items will be plain text of standardized phrases. Thirty items on a single column is not a big list for access. If i could put these lists in Outlook it would be preferable, but how? Weather to use this form to write on a simple message it could also write on an .oft template. Is this solution more interesting? Thanks. |
#4
|
|||
|
|||
![]()
Since you have said very little about your actual usage scenario, it's impossible to say what might be more interesting.
Did you read my earlier response on the options available to you for storing the list data? Outlook simply doesn't care where the lists are. You have to decide what works best for your scenario and write your code to use that approach. -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Syl" wrote in message oups.com... Hi, I plan to have in this form about 6 listbox. The content of these listbox when populated will be a simple column containing up to 30 items. These items will be plain text of standardized phrases. Thirty items on a single column is not a big list for access. If i could put these lists in Outlook it would be preferable, but how? Weather to use this form to write on a simple message it could also write on an .oft template. Is this solution more interesting? Thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I re-enable automatic contact populating? | Loki | Outlook - Using Contacts | 2 | March 7th 06 05:52 PM |
multiselect Listbox value | Michael Anderson | Outlook and VBA | 2 | February 13th 06 04:13 AM |
Get text from keyword Listbox | Michael Anderson | Outlook - Using Forms | 4 | February 6th 06 08:25 PM |
Populating a drop down list from a contact list | Richard Edwards | Outlook - Using Forms | 0 | January 20th 06 11:10 AM |