![]() |
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 all
I would like to start with a button that when you press it it goes through all the messages in "inbox" and shows a messagebox with the subject of each mail item. If possible post a code - I played some and googled some and it does not really work for me. TIA Guy |
Ads |
#2
|
|||
|
|||
![]()
Am Wed, 1 Feb 2006 07:19:22 +0200 schrieb Guy Cohen:
dim obj as object For each obj in Application.Session.GetDefaultFolder(olFolderInbox ).Items msgbox obj.subject next -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook -- www.vbOffice.net -- Hi all I would like to start with a button that when you press it it goes through all the messages in "inbox" and shows a messagebox with the subject of each mail item. If possible post a code - I played some and googled some and it does not really work for me. TIA Guy |
#3
|
|||
|
|||
![]()
Thanks for the reply Michael.
How do I make a button out of it ? Guy "Michael Bauer" wrote in message news ![]() Am Wed, 1 Feb 2006 07:19:22 +0200 schrieb Guy Cohen: dim obj as object For each obj in Application.Session.GetDefaultFolder(olFolderInbox ).Items msgbox obj.subject next -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook -- www.vbOffice.net -- Hi all I would like to start with a button that when you press it it goes through all the messages in "inbox" and shows a messagebox with the subject of each mail item. If possible post a code - I played some and googled some and it does not really work for me. TIA Guy |
#4
|
|||
|
|||
![]()
Am Wed, 1 Feb 2006 17:25:59 +0200 schrieb Guy Cohen:
Without code you could simply customize with a right click the toolbar, goto Commands/Makros and drag the methodīs name on to the toolbar. Therefor the method must be declared as public, parameter arenīt allowed. -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook -- www.vbOffice.net -- Thanks for the reply Michael. How do I make a button out of it ? Guy "Michael Bauer" wrote in message news ![]() Am Wed, 1 Feb 2006 07:19:22 +0200 schrieb Guy Cohen: dim obj as object For each obj in Application.Session.GetDefaultFolder(olFolderInbox ).Items msgbox obj.subject next -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook -- www.vbOffice.net -- Hi all I would like to start with a button that when you press it it goes through all the messages in "inbox" and shows a messagebox with the subject of each mail item. If possible post a code - I played some and googled some and it does not really work for me. TIA Guy |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
World Cup 2006 schedule for Outlook | Nikolai Shulgin [MAPILab] | Outlook - General Queries | 2 | April 19th 06 01:31 PM |