ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   with .net call to excel range.merge() (https://www.excelbanter.com/excel-programming/315118-net-call-excel-range-merge.html)

Steven.Dahlin

with .net call to excel range.merge()
 
I am trying to create and manipulate an Excel spreadsheet from a .net app and
trying to merge a range of cells. Intellisense gives the structure of the
call as follows:

void Range.Merge( object Across )

I am unclear as to what I need with Across Object . The Range object
already defines what cells are to be merged. if I pass something like this:

rng.Merge( rng );

I get an exception. Is there anywhere these calls are documented because a
search of google and Microsoft turn up nothing!!

Thanks,
Steve


All times are GMT +1. The time now is 05:13 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com