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

Hello world



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 1st 06, 05:19 AM posted to microsoft.public.outlook.program_vba
Guy Cohen
external usenet poster
 
Posts: 11
Default Hello world

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  
Old February 1st 06, 08:00 AM posted to microsoft.public.outlook.program_vba
Michael Bauer
external usenet poster
 
Posts: 435
Default Hello world

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  
Old February 1st 06, 03:25 PM posted to microsoft.public.outlook.program_vba
Guy Cohen
external usenet poster
 
Posts: 1
Default Hello world

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  
Old February 2nd 06, 06:23 AM posted to microsoft.public.outlook.program_vba
Michael Bauer
external usenet poster
 
Posts: 435
Default Hello world

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
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
World Cup 2006 schedule for Outlook Nikolai Shulgin [MAPILab] Outlook - General Queries 2 April 19th 06 01:31 PM


All times are GMT +1. The time now is 10:56 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.