---
description: This article will share you 2 approaches to export the Outlook calendar in a specific date range as an iCalendar (.ics) file. You can choose either to your liking.
title: 2 Methods to Export a Specific Date Range of Your Outlook Calendar as an iCalendar (.ics) File
image: https://www.datanumen.com/blogs/wp-content/uploads/2017/07/2-methods-to-export-a-specific-date-range-of-your-outlook-calendar-as-an-icalendar-ics-file.jpg
---

-
-
-

[Home](https://www.datanumen.com/blogs/) > [Solutions](https://www.datanumen.com/blogs/category/solutions/) > [Office Solutions](https://www.datanumen.com/blogs/category/solutions/office-solutions/) > [Outlook Solutions](https://www.datanumen.com/blogs/category/solutions/office-solutions/outlook-solutions/) > 2 Methods to Export a Specific Date Range of Your Outlook Calendar as an iCalendar (.ics) File

# 2 Methods to Export a Specific Date Range of Your Outlook Calendar as an iCalendar (.ics) File

[Outlook Solutions](https://www.datanumen.com/blogs/category/solutions/office-solutions/outlook-solutions/) September 29, 2025

Share Now:

-
-
-
-
-
-
-
-

*This article will share you 2 approaches to export a specific date range of Outlook calendar  as an iCalendar (.ics) file. You can choose either to your liking.*

In Outlook, you can export a whole calendar as iCalendar (.ics) file just via “Save as” feature. However, if you would like to quickly export a specific date range of the calendar as iCalendar, both the inbuilt “Save as” or “Export” function can’t help. Thus, here we will introduce 2 means to you.

![2 Methods to Export a Specific Date Range of Your Outlook Calendar as an iCalendar (.ics) File](https://www.datanumen.com/blogs/wp-content/uploads/2017/07/2-methods-to-export-a-specific-date-range-of-your-outlook-calendar-as-an-icalendar-ics-file.jpg "2 Methods to Export a Specific Date Range of Your Outlook Calendar as an iCalendar (.ics) File")

## Method 1: Export by “E-mail Calendar” Feature

1. In the first place, launch your Outlook application.
2. Then switch to the “Calendar” area.
3. Next you should select the specific calendar in the left navigation pane.
4. After that, you should find and hit the “E-mail Calendar” button in the ribbon.![E-mail Calendar]( "E-mail Calendar")
5. At once, a new email will show up with a “Send a Calendar via E-mail” dialog box.
6. Now, you can specify the date range in this dialog box, like the image below:![Specify the date range]( "Specify the date range")
7. After you click on “OK” button, the calendar in the specified date range will be converted to an iCalendar file, attached in the current email.
8. Next, you can narrow down the current Outlook inspectors until you see your Windows desktop.
9. Eventually, you can drag and drop the attached ics file to the desktop, shown as the screenshot below:![Drag and drop the attached ics file to the desktop]( "Drag and drop the attached ics file to the desktop")

## Method 2: Export via Outlook VBA

1. To start with, in the main Outlook window, press “Alt + F11” keys/
2. Next you will enter the Outlook VBA editor in success, in which you should open an empty module.
3. Subsequently, copy the following VBA code into this module.

```
Sub ExportCalender_inSpecificDateRange_AsiCalendarFile()
    Dim objCalendarFolder As Outlook.Folder
    Dim objCalendarExporter As Outlook.CalendarSharing
    Dim dStartDate As Date
    Dim dEndDate As Date
    Dim objShell As Object
    Dim objSavingFolder As Object
    Dim strSavingFolder As String
    Dim striCalendarFile As String
 
    'Get the current Calendar folder
    Set objCalendarFolder = Outlook.Application.ActiveExplorer.CurrentFolder
 
    If Not objCalendarFolder Is Nothing And objCalendarFolder.DefaultItemType = olAppointmentItem Then
       Set objCalendarExporter = objCalendarFolder.GetCalendarExporter
 
       'Enter the specific start date and end date
       dStartDate = InputBox("Enter the start date, such as 7/1/2017:", "Specify Start Date")
       dEndDate = InputBox("Enter the end date, such as 8/31/2017:", "Specify End Date")
 
       If dStartDate <> #1/1/4501# And dEndDate <> #1/1/4501# Then
          'Select a Windows folder for saving the exported iCalendar file
          Set objShell = CreateObject("Shell.Application")
          Set objSavingFolder = objShell.BrowseForFolder(0, "Select a folder:", 0, "")
          strSavingFolder = objSavingFolder.self.Path
 
          If strSavingFolder <> "" Then
             striCalendarFile = strSavingFolder & "\" & "Calendar from " & Format(dStartDate, "YYYY-MM-DD") & " to " & Format(dEndDate, "YYYY-MM-DD") & ".ics"
 
             'Export the calendar in specific date range
             With objCalendarExporter
                  .IncludeWholeCalendar = False
                  .StartDate = dStartDate
                  .EndDate = dEndDate
                  .CalendarDetail = olFullDetails
                  .IncludeAttachments = True
                  .IncludePrivateDetails = False
                  .RestrictToWorkingHours = False
                  .SaveAsICal striCalendarFile
            End With
 
            MsgBox "Calendar Exported Successfully!", vbInformation
          End If
      Else
          MsgBox "Open a calendar folder, please!", vbExclamation + vbOKOnly
      End If
    End If
End Sub
```

![VBA Code - Export Outlook Calendar as an iCalendar (.ics) File]( "VBA Code - Export Outlook Calendar as an iCalendar (.ics) File")

4. Later, you can add the new macro to Quick Access Toolbar.
5. Ultimately, you can try this VBA project.

- First, access the calendar which you want to export.
- Then click the new macro button in Quick Access Toolbar.
- Next you will be required to specify the date range – start and end date.![Enter the date range – start and end date]( "Enter the date range – start and end date")
- After that, you need to select a Windows folder for saving the ics file.
- Lastly, the calendar in the specific date range will be exported as ics file.

## Take Adequate Precautions to Avoid PST Corruption

You should accept an unquestioned fact that Outlook is vulnerable. Therefore, it is advisable to make periodic PST backups. Plus, you ought to keep an eye on all potential dangers, such as disguised viruses in emails. In addition, it is prudent to prepare a specialized [Outlook recovery](https://www.datanumen.com/outlook-repair/) tool, such as DataNumen Outlook Repair.

## Author Introduction:

Shirley Zhang is a data recovery expert in DataNumen, Inc., which is the world leader in data recovery technologies, including [recover sql](https://www.datanumen.com/sql-recovery/) and outlook repair software products. For more information visit [www.datanumen.com](https://www.datanumen.com/)

Share Now:

-
-
-
-
-
-
-
-

[← Previous post](https://www.datanumen.com/blogs/2-quick-ways-change-type-section-breaks-word-document/)

[Next post →](https://www.datanumen.com/blogs/auto-delete-outlook-task-marking-complete/)

Comments are closed.

![Data Recovery Blog]()

Follow or like us on Facebook, LinkedIn and Twitter to get all promotions, latest news and updates on our products and company.

-
-
-

### Featured Products

- [DataNumen Outlook Repair](https://www.datanumen.com/outlook-repair/)
- [DataNumen SQL Recovery](https://www.datanumen.com/sql-recovery/)
- [DataNumen Exchange Recovery](https://www.datanumen.com/exchange-recovery/)
- [DataNumen Access Repair](https://www.datanumen.com/access-repair/)
- [DataNumen Excel Repair](https://www.datanumen.com/excel-repair/)
- [DataNumen PDF Repair](https://www.datanumen.com/pdf-repair/)
- [DataNumen Word Repair](https://www.datanumen.com/word-repair/)
- [DataNumen Zip Repair](https://www.datanumen.com/zip-repair/)

### Popular posts

```json
{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.datanumen.com\/blogs\/2-methods-export-specific-date-range-outlook-calendar-icalendar-ics-file\/#article","isPartOf":{"@id":"https:\/\/www.datanumen.com\/blogs\/2-methods-export-specific-date-range-outlook-calendar-icalendar-ics-file\/"},"author":{"name":"AuthorCCW","@id":"https:\/\/www.datanumen.com\/blogs\/#\/schema\/person\/33ded6c47c77587f9158d99f05e23957"},"headline":"2 Methods to Export a Specific Date Range of Your Outlook Calendar as an iCalendar (.ics) File","datePublished":"2017-07-11T05:25:43+00:00","dateModified":"2025-09-29T10:40:34+00:00","mainEntityOfPage":{"@id":"https:\/\/www.datanumen.com\/blogs\/2-methods-export-specific-date-range-outlook-calendar-icalendar-ics-file\/"},"wordCount":451,"commentCount":0,"publisher":{"@id":"https:\/\/www.datanumen.com\/blogs\/#organization"},"image":{"@id":"https:\/\/www.datanumen.com\/blogs\/2-methods-export-specific-date-range-outlook-calendar-icalendar-ics-file\/#primaryimage"},"thumbnailUrl":"https:\/\/www.datanumen.com\/blogs\/wp-content\/uploads\/2017\/07\/2-methods-to-export-a-specific-date-range-of-your-outlook-calendar-as-an-icalendar-ics-file.jpg","articleSection":["Outlook Solutions"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.datanumen.com\/blogs\/2-methods-export-specific-date-range-outlook-calendar-icalendar-ics-file\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.datanumen.com\/blogs\/2-methods-export-specific-date-range-outlook-calendar-icalendar-ics-file\/","url":"https:\/\/www.datanumen.com\/blogs\/2-methods-export-specific-date-range-outlook-calendar-icalendar-ics-file\/","name":"2 Methods to Export a Specific Date Range of Your Outlook Calendar as an iCalendar (.ics) File","isPartOf":{"@id":"https:\/\/www.datanumen.com\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.datanumen.com\/blogs\/2-methods-export-specific-date-range-outlook-calendar-icalendar-ics-file\/#primaryimage"},"image":{"@id":"https:\/\/www.datanumen.com\/blogs\/2-methods-export-specific-date-range-outlook-calendar-icalendar-ics-file\/#primaryimage"},"thumbnailUrl":"https:\/\/www.datanumen.com\/blogs\/wp-content\/uploads\/2017\/07\/2-methods-to-export-a-specific-date-range-of-your-outlook-calendar-as-an-icalendar-ics-file.jpg","datePublished":"2017-07-11T05:25:43+00:00","dateModified":"2025-09-29T10:40:34+00:00","description":"This article will share you 2 approaches to export the Outlook calendar in a specific date range as an iCalendar (.ics) file. You can choose either to your liking.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.datanumen.com\/blogs\/2-methods-export-specific-date-range-outlook-calendar-icalendar-ics-file\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.datanumen.com\/blogs\/2-methods-export-specific-date-range-outlook-calendar-icalendar-ics-file\/#primaryimage","url":"https:\/\/www.datanumen.com\/blogs\/wp-content\/uploads\/2017\/07\/2-methods-to-export-a-specific-date-range-of-your-outlook-calendar-as-an-icalendar-ics-file.jpg","contentUrl":"https:\/\/www.datanumen.com\/blogs\/wp-content\/uploads\/2017\/07\/2-methods-to-export-a-specific-date-range-of-your-outlook-calendar-as-an-icalendar-ics-file.jpg","width":870,"height":670,"caption":"2 Methods to Export a Specific Date Range of Your Outlook Calendar as an iCalendar (.ics) File"},{"@type":"WebSite","@id":"https:\/\/www.datanumen.com\/blogs\/#website","url":"https:\/\/www.datanumen.com\/blogs\/","name":"Data Recovery Blog","description":"Discuss every aspect of data recovery","publisher":{"@id":"https:\/\/www.datanumen.com\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.datanumen.com\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.datanumen.com\/blogs\/#organization","name":"Data Recovery Blog","url":"https:\/\/www.datanumen.com\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.datanumen.com\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/www.datanumen.com\/blogs\/wp-content\/uploads\/2019\/02\/logowithouttext.jpg","contentUrl":"https:\/\/www.datanumen.com\/blogs\/wp-content\/uploads\/2019\/02\/logowithouttext.jpg","width":296,"height":397,"caption":"Data Recovery Blog"},"image":{"@id":"https:\/\/www.datanumen.com\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataNumen","https:\/\/x.com\/DataNumen","http:\/\/www.linkedin.com\/company\/datanumen","https:\/\/myspace.com\/datanumen\/","http:\/\/www.pinterest.com\/datanumen\/","https:\/\/www.youtube.com\/channel\/UCVIIuuKfUBHSJauUaVP13tw"]},{"@type":"Person","@id":"https:\/\/www.datanumen.com\/blogs\/#\/schema\/person\/33ded6c47c77587f9158d99f05e23957","name":"AuthorCCW","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/3516ed90fc242780d3947a989f895bc46e70c3e83485d30f2b457a007906aa58?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/3516ed90fc242780d3947a989f895bc46e70c3e83485d30f2b457a007906aa58?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3516ed90fc242780d3947a989f895bc46e70c3e83485d30f2b457a007906aa58?s=96&d=mm&r=g","caption":"AuthorCCW"},"sameAs":["https:\/\/www.datanumen.com\/"]}]}
```
