logo
search
Contact Problems

How to Open iCloud Contacts First in Outlook 2021

Aamir Naveed AkramAamir Naveed Akram Oct 1, 2026 868 views

Question details

The user wants the iCloud contacts folder to open by default instead of the local Outlook Data File when clicking the People icon in Outlook.

How to Open iCloud Contacts First in Outlook 2021
Product
Outlook 2021
Device & OS
not provided
Scenario
Navigating to the contacts view by clicking the People icon in Outlook 2021.
Observed behavior
Clicking the People icon opens the Outlook Data File contacts by default. Outlook does not provide a native setting to retain the iCloud contacts folder as the default view after restarting.
Before you start

Ensure your iCloud for Windows app is fully synced with Outlook 2021. If you plan to use the VBA macro workaround, check your organization's security policies to ensure macros are allowed to run.

Solution 1Recommended

Use a VBA Macro to Open iCloud Contacts on Startup

Since Outlook 2021 does not natively allow an iCloud folder to be set as the default Data File for the People view, using a startup macro is the most reliable workaround.

Outlook may remember the selected contacts folder during a single session, but it will revert to the default Outlook Data File upon restarting. A VBA script forces Outlook to display your iCloud contacts every time it opens.

1
Open the VBA Editor

Launch Outlook 2021 and press 'Alt + F11' on your keyboard to open the Microsoft Visual Basic for Applications window.

2
Access ThisOutlookSession

In the left-hand 'Project1' pane, expand the 'Microsoft Outlook Objects' folder and double-click on 'ThisOutlookSession'.

3
Insert the Startup Script

Write or paste a VBA script that uses the 'Application_Startup' event to set the 'ActiveExplorer.CurrentFolder' to your specific iCloud Contacts folder path.

4
Save and Enable Macros

Save your code and close the editor. Go to File > Options > Trust Center > Trust Center Settings > Macro Settings to ensure macros are allowed, then restart Outlook.

Use a VBA Macro to Open iCloud Contacts on Startup
Reliable Startup View: Once enabled, the macro will automatically direct you to your iCloud contacts folder whenever you switch to the People view after launching Outlook.
Free Microsoft Office alternative

Try WPS Office for a Streamlined Experience

If you are tired of dealing with complex configurations and macro workarounds in Microsoft Office, consider switching to WPS Office. It provides a lightweight, highly compatible, and user-friendly alternative for all your document, spreadsheet, and presentation needs.

  1. 1. Download the Installer: Visit the official WPS Office website and download the free installer for your operating system.
  2. 2. Install WPS Office: Run the downloaded file and follow the simple on-screen instructions to complete the installation.
  3. 3. Enjoy Free Office Tools: Open WPS Office and instantly start creating, editing, and managing your documents with ease.
Fully compatible with Microsoft Word, Excel, and PowerPoint file formats.Lightweight installation that runs fast and smoothly on older or budget devices.Free to use with a clean, intuitive, and familiar user interface.Built-in PDF editing tools and seamless cloud syncing capabilities.
microsoft office alternative - wps office

Frequently Asked Questions

Why can't I set the iCloud Data File as the default in Outlook 2021?

Microsoft Outlook 2021 restricts iCloud data files from being set as the default data file. The default data file must be a standard PST or OST file, which is why clicking the People icon will always default to the local contacts folder natively.

Will Outlook remember my selected iCloud folder without a macro?

Outlook may remember that you navigated to the iCloud contacts folder during your current active session. However, once you close and restart the application, it will not retain this preference and will revert to the default Outlook Data File.

Is it safe to use VBA macros in Outlook?

VBA macros are safe to use if you write them yourself or source them from a trusted IT professional. To maintain security, it is highly recommended to set your Outlook Macro Settings to 'Notifications for digitally signed macros' to prevent malicious scripts from running automatically.