question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Q] How do I get access to the list of merged cells

See original GitHub issue

💬 Questions and Help

Worksheet contains private property “_merges”. In JS i can just write let m = workbook.getWorksheet(0)._merges and get all merged cells in sheet. But in TS i get error “Property ‘_merges’ does not exist on type ‘Worksheet’”. If i try let m = workbook.getWorksheet(0).model.merges i`m get a similar error - merges does non exist on WorksheetModel. at the same time everything works in JS, but result are different.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
StephenChipscommented, Apr 26, 2021

I think it should make it public, the _merge property, or there should be some alternative method to access all merged cell.

0reactions
Den2016commented, Oct 21, 2020

this is understandable, but where is the guarantee that someday this property will not be renamed

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Find Merged Cells in Excel (and then get rid of it)
Go to the Home tab and click on the Merge & Center button. This will instantly unmerge all the cells. How to find...
Read more >
Find Merged Cells in Excel - Excel Trick
Method 2: Finding Merged Cells using Macro (Listing Address of Merged Cells): · To create a macro, press the “Alt+F11” keys, this will...
Read more >
How To Find Merged Cells In Excel || [Excel Tricks] - YouTube
In this tutorial, let us learn How to find merged cells in Excel.You might be knowing that there are few drawbacks with the...
Read more >
How to unmerge cells in Excel - Ablebits
Select your table (or just the columns that have merged cells) and click the Merge & Center button on the Home tab. This...
Read more >
How to enter array formulas in merged cells - Get Digital Help
1. Unmerge cells · Select the merged cell. · Go to tab "Home" on the ribbon. · Press with left mouse button on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found