PC Review


Reply
Thread Tools Rate Thread

AdvancedSearchComplete event doesn't

 
 
hardvark@gmail.com
Guest
Posts: n/a
 
      6th Aug 2005
Hi,

I have to retrieve some data from outlook using a VBA macro in Excel.
According to the documentation this code is supposed to work. But the
outlookApp_AdvancedSearchComplete event never fires. I have run out of
ideas. Any help would be greatly appreciated.


Sub Button1_Click()
Dim outlookApp As New Outlook.Application
Dim objSearch As Outlook.Search

Set objSearch = outlookApp.AdvancedSearch("Tasks")

End Sub

Private Sub outlookApp_AdvancedSearchComplete(SearchObject As Search)
MsgBox 'found something'
End Sub

 
Reply With Quote
 
 
 
 
=?Utf-8?B?VkJyb2duYQ==?=
Guest
Posts: n/a
 
      14th Oct 2005
Hi,
I have the same problem with a VBA macro. The AdvancedSearchComplete event
never happens; the module is not called by the main code. Can anyone help us
explaining because code is wrong?

Thank you for your attention
Bye

"(E-Mail Removed)" ha scritto:

> Hi,
>
> I have to retrieve some data from outlook using a VBA macro in Excel.
> According to the documentation this code is supposed to work. But the
> outlookApp_AdvancedSearchComplete event never fires. I have run out of
> ideas. Any help would be greatly appreciated.
>
>
> Sub Button1_Click()
> Dim outlookApp As New Outlook.Application
> Dim objSearch As Outlook.Search
>
> Set objSearch = outlookApp.AdvancedSearch("Tasks")
>
> End Sub
>
> Private Sub outlookApp_AdvancedSearchComplete(SearchObject As Search)
> MsgBox 'found something'
> End Sub
>
>

 
Reply With Quote
 
Sue Mosher [MVP-Outlook]
Guest
Posts: n/a
 
      14th Oct 2005
It's going to be hard to help you without seeing a code snippet.

--
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


"VBrogna" <(E-Mail Removed)> wrote in message news:CDC3F05E-22D5-4A6F-A46B-(E-Mail Removed)...
> Hi,
> I have the same problem with a VBA macro. The AdvancedSearchComplete event
> never happens; the module is not called by the main code. Can anyone help us
> explaining because code is wrong?


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to catch the AdvancedSearchComplete event Pavel Rosoi Microsoft Outlook Form Programming 4 9th Jun 2008 08:58 PM
AdvancedSearchComplete event handler =?Utf-8?B?bmFuYQ==?= Microsoft Outlook VBA Programming 3 30th Jun 2007 06:10 AM
AdvancedSearchComplete Even Not Firing Dav Banks Microsoft Outlook VBA Programming 8 8th Jun 2006 09:18 PM
AdvancedSearchComplete =?Utf-8?B?UmVuaml0aA==?= Microsoft Outlook VBA Programming 0 24th May 2006 07:44 AM
AdvancedSearchComplete Marc Bertrand Microsoft Outlook VBA Programming 4 6th Oct 2003 12:02 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:50 AM.