logo
search
File Format & Compatibility

How to Add Long OneNote Links to Excel via Power Automate

Emma BrownEmma Brown Oct 1, 2026 868 views

Question details

The user needs to save a generated OneNote page link into an Excel table using Power Automate, but the long SharePoint URL causes an error due to Excel's character limit.

How to Add a Long OneNote Link to an Excel Table Using Power Automate
Product
Excel, Power Automate, OneNote
Device & OS
not provided
Scenario
Automating the creation of OneNote pages from emails and logging their URLs into an Excel tracking table.
Observed behavior
The Power Automate flow fails or cannot create a clickable link because the OneNote or SharePoint URL exceeds Excel's 255-character hyperlink limit.
Before you start

Ensure you have edit permissions for both your Power Automate workflow and the target Excel file, and verify if your organization permits the use of external URL shorteners.

Solution 1Recommended

Store the Long URL as Plain Text

Bypass the hyperlink limit by storing the URL as plain text instead of an active hyperlink, which is the most reliable method when VBA is restricted by your organization.

Since standard Excel spreadsheets restrict clickable hyperlinks to 255 characters, any URL exceeding this limit will trigger an error in your automation. Saving the URL as standard text bypasses this restriction entirely.

1
Modify Excel Table Columns

Open your Excel table and ensure the target column is formatted as 'General' or 'Text' rather than a dedicated 'Hyperlink' format.

2
Update Power Automate Flow

In your Power Automate flow, locate the 'Add a row into a table' or 'Update a row' Excel action where the URL is being injected.

3
Map the URL Output

Insert the OneNote page URL dynamic content directly into the text column field. Do not wrap it in an HTML anchor tag or a HYPERLINK formula.

Store the Long URL as Plain Text
Usage Note: While the link will not be clickable directly within Excel, users can easily copy and paste the plain text URL into their browser to access the OneNote page.
Free Microsoft Office alternative

Try WPS Office for Seamless Spreadsheet Management

While URL limits are tied to universal spreadsheet file standards, WPS Office offers a lightweight, highly compatible, and free alternative to Microsoft Office for managing all your daily tasks, data logging, and documentation.

  1. 1. Download WPS Office: Visit the official WPS website to download and install the free WPS Office suite.
  2. 2. Open Your Tracking File: Open your existing .xlsx tracking files directly in WPS Spreadsheet with perfect formatting retention.
  3. 3. Manage Long Links Easily: Utilize robust text-wrapping and cell formatting tools to cleanly display long, plain-text SharePoint URLs.
Highly compatible with Microsoft Excel (.xlsx) formats and standard spreadsheet limitations.Manage plain text URLs and organize complex data sets efficiently.Familiar and intuitive user interface with zero learning curve.Free, lightweight, and fast-loading on all major PC and mobile platforms.
microsoft office alternative - wps office

Frequently Asked Questions

What is the maximum length for a hyperlink in an Excel spreadsheet?

Standard spreadsheet formats limit hyperlinks to 255 characters. If a URL exceeds this limit, such as complex SharePoint or OneNote web links, the application will return an error or fail to render it as a clickable link.

Can I bypass the 255-character link limit using VBA?

Yes, VBA can sometimes be used to construct longer hyperlinks programmatically. However, VBA is frequently disabled by IT administrators on enterprise computers for security reasons, making plain text or URL shorteners the most viable alternatives.

Why do OneNote links generated in Power Automate get so long?

OneNote links hosted on enterprise SharePoint or OneDrive environments include long organizational routing paths, unique page identifiers, and complex authentication parameters, which easily push the string length well over standard character limits.

Will formatting a column as 'Text' prevent Power Automate errors?

Yes. By treating the URL strictly as standard text rather than an active hyperlink, the spreadsheet application will not enforce the 255-character hyperlink limit, allowing your Power Automate flow to successfully write the full URL to the cell.