Deleting current appointment.

  • Thread starter Thread starter Jacob Kronne
  • Start date Start date
J

Jacob Kronne

Hi all

How can I delete current appointment Item from calendar?

Item.delete is not working

Also following code is not working:

Set MyNamespace = Application.GetNamespace("MAPI")
Set deletedItemsFolder = MyNameSpace.GetDefaultFolder(olFolderDeletedItems)
Item.move deletedItemsFolder
 
And the issue is? The newsgroup interface you are using apparently does not
quote earlier messages in the thread, making your latest message so short on
detail that you risk not getting the answer you're looking for. Please take
the time to quote the original message.
 
The issue is Outlook 2000

Sue Mosher said:
And the issue is? The newsgroup interface you are using apparently does not
quote earlier messages in the thread, making your latest message so short on
detail that you risk not getting the answer you're looking for. Please take
the time to quote the original message.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers


Is this Outlook custom form code? If not, how is Item instantiated?
 
Item.Delete works fine here on 9.0.0.3821. You're not trying to delete an
item that was never saved, are you?

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
I'm trying to copy Appointment Item.
I'm pressing "Ctrl" button and I'm drugging item.
Sometimes I want programaticly cancel copy.

Item_write = False
makes copy of old item at the same time.

Item_write = False
Item.delete
makes copy of old item at the same time.

Item_write = False
Item.save
Item.delete

caused to follow message:
"Can't copy the items. The function cannot be performed because the
object has been deleted."

Is there a way no receive this message?
 
Well, that's rather a different story, isn't it, than simply deleting the
current item? I don't know that there's any way to cancel the saving of an
item that's being copied.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers



Jacob Kronne said:
I'm trying to copy Appointment Item.
I'm pressing "Ctrl" button and I'm drugging item.
Sometimes I want programaticly cancel copy.

Item_write = False
makes copy of old item at the same time.

Item_write = False
Item.delete
makes copy of old item at the same time.

Item_write = False
Item.save
Item.delete

caused to follow message:
"Can't copy the items. The function cannot be performed because the
object has been deleted."

Is there a way no receive this message?

"Sue Mosher [MVP-Outlook]" <[email protected]> wrote in message
Item.Delete works fine here on 9.0.0.3821. You're not trying to delete an
item that was never saved, are you?
 
Back
Top