Link to home
Start Free TrialLog in
Avatar of ryeandi
ryeandi

asked on

looping through excel cell range

hey experts,
how do i loop through a range of cells?  something like this.

Excel.Range xlCells = xlSheet.get_Range("H4","P4");

foreach(Excel.cell loopCell in xlCells)
{
      loopCell.value2 = x;
}


thanks,

rye
ASKER CERTIFIED SOLUTION
Avatar of malharone
malharone

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial