Click here to Skip to main content
16,003,611 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI,

I have 75 records in my dataset and is group into 3.

after Inserting the first 25 records in Excel, how can I skip a row in excel?
Posted

1 solution

If it as simple as looking for the loop iteration then:

VB
For i As Integer = 0 To <range>
  If i = 25 Then Continue For 'do not process this row
  'otherwise keep processing
Next</range>


Otherwise use a variable that you increment with each iteration.
 
Share this answer
 
Comments
Alan Tuscano 25-Jan-12 1:27am    
Thank you Idle_Force,

How can i hide a column? I need that column for grouping but don't want it displayed in the excel output

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