CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Threaded View

  1. #2
    Join Date
    Oct 2010
    Posts
    17

    Re: help me in the code !!

    what i need is that

    Code:
     For fI1 = 1 To 31
                If xlsheet1.Cells(fI1, 1) = "" Then
             xl.ActiveWorkbook.Close False, CStr(App.Path & "\12.xls")
                Else
                    cl = xlsheet1.Cells(fI1, 1)
                    cl1 = 0
                    For fI = 1 To 31
                        If xlsheet.Cells(fI, 1) = cl Then
                            cl1 = cl1 & fI & ","
                            Text1(0).Text = cl1
                        Else
                             Resume Next (her I need to resume FI FOR loop again to continue FI until 31  )
                        End If
                End If
            Next fI1 (her I need to Resume FI1 LOOP again until when there are no Text  )
    Last edited by mot1639; October 4th, 2010 at 10:18 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured