Hi,
I’ll try to explain my problem.
I have 2 cols A and B:
- A1 and B1 are distinct
- A2 and B2 are merged
- A3 and B3 are merged
- A4 and B4 are distinct
Each cells values are their location (A1 value is A1, A2 value is A2, …)
If I use this method
_excelWorksheet.Columns.InsertCopy(targetIndex, 2, _excelWorksheet.Columns[0]);
This is the result:
- A1 and B1 are distinct
- A2 and B2 are merged
- A3 and B3 are merged
- A4 and B4 are distinct
All B cells values are equal to the A cells values.
How can I copy my range (col A and B) to another location with my merged cells?
Thanks