简体   繁体   中英

Blueprism, how to write collection to Excel but to merged cells

I have a Collection with the same fields as in the Excel File. I want to write that Collection to that Excel File, but the file has a specific format and there are cells that are merged together for example B2:B6 and when I write the collection he inserts into those cells, he doesn't recognize that the cells are merged. Is there a possible way to overcome that problem without needing to write every cell one single time?

如果我没记错的话,合并单元格中的值看起来像(对于B2:B6示例)[value] [empty] [empty] [empty] [empty],所以如果您知道表中合并单元格的范围,您可以在集合的字段中插入空值,然后将其写入文档。

After many tryouts, I solved it by reading two of my Tables from excel into two seperate Collections.

Then I used the built in Action "Append Rows to Collection" from the "Utility - Collection Manipulation" Business Object. Now the two collectons are one. Then I Compare each field and search for duplications and delete these rows.

At the end there is a Collection which I can just paste into my excel file.

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