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

Personal Calendar Item copied to a selected public folder calendar



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old August 25th 06, 06:16 PM posted to microsoft.public.outlook.program_vba
Wanda
external usenet poster
 
Posts: 29
Default Personal Calendar Item copied to a selected public folder calendar

Hi:

Have created this code to allow me to select a folder I want to put my send
mail item in or if I don't want it in a specific folder, I hit "cancel" and
it puts it in my Send Folder.
***********
Private Sub Application_ItemSend(ByVal Item As Object, Cancel As Boolean)
Dim objNS As NameSpace
Dim objFolder As MAPIFolder

If Not Autoforward Then

Set objNS = Application.GetNamespace("MAPI")
Set objFolder = objNS.PickFolder

If TypeName(objFolder) "Nothing" Then
Set Item.SaveSentMessageFolder = objFolder
End If

Set objFolder = Nothing
Set objNS = Nothing
End If
Autoforward = False
End Sub
**************

Now what I want to do is when I put an appointment in my calendar, I want
that same popup selection to allow me to COPY that appointment into another
selected calendar (public folder calendar). Is this possible? Thanks.

Wanda
 




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
Can I synchronize my personal calendar with a public folder calend Charliehd Outlook - Calandaring 1 July 26th 06 02:52 PM
Public folder calendar item automatically copied to private calendar ? Manuelp Outlook - General Queries 6 June 27th 06 09:56 PM
Personal Calendar to a Public Calendar Wanda Outlook - Using Forms 1 June 23rd 06 07:08 PM
synch my personal folder calendar with my mailbox calendar Andy29 Outlook - Calandaring 1 May 11th 06 03:37 PM
Sync Public Calendar with Personal Calendar Jeff Bendert Outlook - Calandaring 1 March 23rd 06 03:10 PM


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