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

Browse and select mail messages?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 21st 06, 05:33 PM posted to microsoft.public.outlook.program_vba
Fox via OfficeKB.com
external usenet poster
 
Posts: 5
Default Browse and select mail messages?

I'm working on an Excel macro which gathers information from various files
(Word, Excel, PowerPoint), as well as email messages. The locations for the
files are passed with variables. I was thinking about adding some error
handling to allow the user to search for and select the file(s) themselves if
the macro can't find the file(s) based on the path and file name passed to it.
I was going to use the Application.GetOpenFilename() method so I would not
have to incorporate any additional library references.
What I would like to know is if there is a similiar method I could use to
allow a user to browse through Outlook folders and select a particular mail
message if the macro can't find the message it needs based on the variables
(outlook folder, subject, attachments,...) passed to it?

--
Message posted via http://www.officekb.com
Ads
  #2  
Old June 22nd 06, 06:50 AM posted to microsoft.public.outlook.program_vba
Michael Bauer
external usenet poster
 
Posts: 435
Default Browse and select mail messages?

Am Wed, 21 Jun 2006 15:33:28 GMT schrieb Fox via OfficeKB.com:

To browse the folders you can call the Pickfolder method. Then youŽd need to
show all the its messages in a proper control like a grid.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
-- www.VBOffice.net --


I'm working on an Excel macro which gathers information from various files
(Word, Excel, PowerPoint), as well as email messages. The locations for

the
files are passed with variables. I was thinking about adding some error
handling to allow the user to search for and select the file(s) themselves

if
the macro can't find the file(s) based on the path and file name passed to

it.
I was going to use the Application.GetOpenFilename() method so I would not
have to incorporate any additional library references.
What I would like to know is if there is a similiar method I could use to
allow a user to browse through Outlook folders and select a particular

mail
message if the macro can't find the message it needs based on the

variables
(outlook folder, subject, attachments,...) passed to it?

 




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
imoprting mail messages shamanman Outlook Express 2 May 12th 06 03:42 PM
Insert/Picture/Browse locks up my computer MadameC8 Outlook Express 8 March 6th 06 12:28 AM
Cannot browse zip files when attaching to email Gordon Outlook - Installation 1 February 24th 06 10:14 PM
Can't select "show this folder as an e-mail address book" Michael Blaut Outlook - Using Contacts 5 February 12th 06 04:22 PM
Can't get e-mail messages Luigi Outlook Express 1 February 7th 06 07:42 PM


All times are GMT +1. The time now is 06:14 PM.


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.