Hi,
I am using
VB.NET to code for Excel.
(but even if someone can suggest a solution in VB6 i would appreciate)
Following is the problem i am facing:
Starting from cell N5, i have to merge a number of cells in my excel sheet
How many cells have to be merged, can be known only at runtime.
How can i accomplish this merging?
i was using range object, but how to specify the range is where i am stuck.
if i use something like
objRange = DirectCast(objXlSheet.columns("N5:lastCOl"),Excel. Range)
how to get last column (lastCol) ???
calculation wise,It would be (N5 + someNumber calculated at runtime)
Thanks ,
Jell