Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old April 12th, 2008, 03:32 AM
Registered User
Join Date: Apr 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default vba work outlook with excel sheet

hi all,

i wanted to be able to search for a keyword within outlook's public folder. normally to do this is to just use that search function in outlook, but because i have a lot of keyword to search i'm thinking if i can automate this search process by reading keyword from an excel file using vba to search for the mail in outlook. pls see below for the steps...

1. run macro, pop up box ask for excel file input (file is a list of keyword)
2. outlook read in one entry of the list, searches in mail box and public folder for the keyword
3. copy the found file to another folder (can be outlook public folder or local drive)
4. read in next keyword and search, repeat the process.

Can someone pls tell me how can that be done?
Old April 16th, 2008, 12:30 PM
JP JP is offline
Authorized User
Join Date: Apr 2008
Posts: 57
Thanks: 1
Thanked 3 Times in 3 Posts

Search where? In the subject, body, somewhere else?

What sort of items are in the public folder?

What version of Excel/Outlook/Office are you using?

Do you have any VBA programming experience? It would help if you already had some code written, instead of just asking for code to be written for you.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel vba, assigning a Name to a sheet stepdev Excel VBA 3 October 31st, 2015 07:32 AM
TRIM, ISTEXT function won't work in Excel VBA code munzer1 Excel VBA 1 May 29th, 2007 09:35 AM
VBA code to email excel status sheet daily basis ramavtar Excel VBA 0 December 9th, 2006 05:28 AM
VBA in excel and outlook dlindamood2000 Excel VBA 19 December 7th, 2006 10:16 AM
VBA Excel, outlook createobject Willie Johnson Jr Excel VBA 0 March 10th, 2006 05:11 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.