leary
May 6th, 2001, 01:36 PM
I have put a progress bar on seperate form to use as needed. problem is it doesn't show when called and my knowledge of progress bars = nothing, so it don't work. here is code section
frmProgressShow.Show
DoEvents
frmMDISanitation.Hide 'tried to get bar to show
Do Until intRow >= 575 ' to allow for growth...currently 559
If Trim(xlRangeList.Cells.Item(intRow, intCol)) = "*" Then
frmTasks.lstTasksDueThisWeek.AddItem intRow _
& "." & " " & m_objSheet.Cells.Item(intRow, 1)
frmTaskStatus.cboTaskView.AddItem intRow _
& "." & " " & m_objSheet.Cells.Item(intRow, 1)
intRow = intRow + 1
frmProgressShow.prgShowNTell.Value = intRow
DoEvents
Else
intRow = intRow + 1
Debug.Print m_objSheet.Cells(intRow, intCol)
End If
Loop
frmProgressShow.Hide
thanks for looking or helping!
frmProgressShow.Show
DoEvents
frmMDISanitation.Hide 'tried to get bar to show
Do Until intRow >= 575 ' to allow for growth...currently 559
If Trim(xlRangeList.Cells.Item(intRow, intCol)) = "*" Then
frmTasks.lstTasksDueThisWeek.AddItem intRow _
& "." & " " & m_objSheet.Cells.Item(intRow, 1)
frmTaskStatus.cboTaskView.AddItem intRow _
& "." & " " & m_objSheet.Cells.Item(intRow, 1)
intRow = intRow + 1
frmProgressShow.prgShowNTell.Value = intRow
DoEvents
Else
intRow = intRow + 1
Debug.Print m_objSheet.Cells(intRow, intCol)
End If
Loop
frmProgressShow.Hide
thanks for looking or helping!