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

How to move focus/selection to a particular contact/item in Explor



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old September 28th 06, 11:35 PM posted to microsoft.public.outlook.program_vba
va
external usenet poster
 
Posts: 1
Default How to move focus/selection to a particular contact/item in Explor

I have extended the Contacts Explorer with a sub-pane that collects data.

As soon as the user selects another contact from the contact's explorer
(phone list view), the data is then saved for the previously selected
contact. If there is an error in the data, I either want to

a) Prevent the user from switching to another contact

OR

b) I want to program the selection and focus rectangle back to the
original contact

How can I code this? Any help would be appreciated
  #2  
Old September 29th 06, 12:31 AM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default How to move focus/selection to a particular contact/item in Explor

The Selection collection cannot be set in code and there is no cancel
parameter for the SelectionChange event. The best you can do is set Cancel =
True if the user tries to switch to a different folder. You can't do what
you want.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"va" wrote in message
...
I have extended the Contacts Explorer with a sub-pane that collects data.

As soon as the user selects another contact from the contact's explorer
(phone list view), the data is then saved for the previously selected
contact. If there is an error in the data, I either want to

a) Prevent the user from switching to another contact

OR

b) I want to program the selection and focus rectangle back to the
original contact

How can I code this? Any help would be appreciated


 




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
Copy mail item to one folder and then move it to another folder LDMueller Outlook - Using Forms 1 September 15th 06 04:15 PM
Contact selection DCL Outlook - Using Contacts 5 September 15th 06 03:06 AM
Let me move a Calendar item without sending an update Winter Outlook - Calandaring 1 May 29th 06 11:01 PM
The out of office asst content to appear upon contact selection Vlad Outlook - Using Contacts 0 April 11th 06 07:24 PM
Item Move event AtulSureka Outlook and VBA 1 February 24th 06 02:33 PM


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