"move to next cell in the next row in excel using c#" Code Answer

20

Range.Next returns a Range object that represents the next cell.

I'm not really the greatest expert alive but according to the documentation you should use Offset instead. http://msdn.microsoft.com/en-us/library/microsoft.office.interop.excel.range.offset

Here is some pseudo code

var excelApp = this.Application;
int skipRows = 1;
int skipCells = 0;
var nextRange = excelApp.ActiveCell.Offset[skipRows, skipCells].Select();
By Peter Neyens on September 2 2022

Answers related to “move to next cell in the next row in excel using c#”

Only authorized users can answer the Search term. Please sign in first, or register a free account.