简体   繁体   中英

How to display an Excel array without excel #N/As using C# Excel-DNA

I have ac# function returning a matrix, I read it on Excel (as an excel array). Anyone has an idea how to:

1)Display/expand the full array without having to use ctrl+shift+enter and readjust to remove #N/As.

2) expand only in empty Excel cells ie do not overwrite existing cells.

You're looking for the new 'Dynamic Arrays' being tested in the insider versions of Excel. See https://techcommunity.microsoft.com/t5/Excel-Blog/Preview-of-Dynamic-Arrays-in-Excel/ba-p/252944 and other Google hits when you search for 'Excel dynamic array'.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM