Calendar.Calendar.Duplicate
---------------------------

Creates a copy of an existing calendar.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Calendar](component_Calendar.md) | [3.4](newinversion34.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |

### Deprecated

This function was [deprecated](deprecated.md).

MBS( "Calendar.Calendar.Duplicate"; calendarRef ) 

**MBS**( **"Calendar.Calendar.Duplicate";** /\* Creates a copy of an existing calendar. \*/  
**$calendarRef**) /\* The id of the calendar to query. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| calendarRef | The id of the calendar to query. | $calendarRef |

### Result

Returns ID of new calendar.

### Description

Creates a copy of an existing calendar.  
### See also

- [Calendar.Alarm.Duplicate](CalendarAlarmDuplicate.md)
- [Calendar.Calendar.GetTitle](CalendarCalendarGetTitle.md)
- [Calendar.Calendar.IsEditable](CalendarCalendarIsEditable.md)
- [Calendar.Calendar.SetTitle](CalendarCalendarSetTitle.md)
- [Events.Calendar.Duplicate](EventsCalendarDuplicate.md)

This function checks for a license.

Created 18th August 2014 , last changed 18th August 2014

  
[Calendar.Attendee.GetStatus](CalendarAttendeeGetStatus.md) - [Calendar.Calendar.GetColor](CalendarCalendarGetColor.md)

[HTML Version](CalendarCalendarDuplicate.shtml)