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

copy OL2003 contacts



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6  
Old January 23rd 06, 09:30 PM posted to microsoft.public.outlook.program_vba
Eric Legault [MVP - Outlook]
external usenet poster
 
Posts: 830
Default copy OL2003 contacts

Figuring out what the parent folder is for a newly created item can be
tricky. You can always use ActiveExplorer.CurrentFolder to determine the
save location, but that may not be reliable if the user has switched away
from the new item and changed folders for whatever reason. Depending on when
your code is run, it could be a different folder!

The best iron clad alternative is to declare an Inspectors collection
variable using the With Events keyword to trap whenever any kind of Outlook
item is created; weed out non-Calendar items and use
ActiveExplorer.CurrentFolder at that time to determine where the item will be
saved.

--
Eric Legault (Outlook MVP, MCDBA, old school WOSA MCSD, B.A.)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"starcarrier" wrote:

Hi Eric!

thanx for your reply!

my customer also wants to copy/save calender-entries to the public
calender
and vice versa. I think I will use a macro-approach, so I dont have to
use customized
forms for now. when he cerates a new calender-entry OL offers just the
opportunity to
save the entry and close the form. I will add a button which he can use
to also create the entry in the public/personal calender. I just have
to figure out which calender an entry is from to distinguish where to
copy/save it to.

any comments appreciated, thanx in advance!
regards,
Hans


 




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 contacts on network dee Outlook - Using Contacts 1 February 28th 06 09:57 AM
Syncing Contacts from PC to Exchange Contacts folder - OL2003 ©® Outlook - Using Contacts 11 February 27th 06 02:42 PM
Copy of Outlook contacts to Ipod not by last name Don S. Outlook - Using Contacts 1 February 12th 06 01:18 AM
How do i copy outlook contacts to my PDa adrianmoss Outlook - Using Contacts 2 January 28th 06 08:05 PM
Create Dist List as Delegate, from Delegator's Contacts not in GAL - OL2003 Derrick Outlook - Using Contacts 1 January 12th 06 08:22 PM


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