Click here to Skip to main content
15,911,715 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i want to do merge across on cell of
A1 E1 to A10 E10

how to do this?
Posted

1 solution

see here[^]
or pick one of these[^].
 
Share this answer
 
Comments
Amod Kumar Jaiswal 23-Mar-12 8:41am    
these are working as merge cell but i want option like merge across in excel.how to do this using of c# code.
Herman<T>.Instance 23-Mar-12 8:45am    
merge a1:e10. can be
eWSheet.Range[eWSheet.Cells[1, 1], eWSheet.Cells[10, 5]].Merge();
or
excelApp.get_Range("A1:E10", Type.Missing).Merge(Type.Missing);
Amod Kumar Jaiswal 23-Mar-12 8:57am    
it is also making A1 to E10 into single cell but i want to merge across functionality like excel functionality
Herman<T>.Instance 23-Mar-12 9:20am    
isn't that was merge across is meant to. Having all the cells combined into 1. You might want to center cell...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900