G
Guest
Hi
I have a VB6 programming and try to select a worksheet by using the command "Sheets(t_sheet_no).Select". And it raises the error as captioned. I guess it is because some sheet is invisible. Is there any command to test if a sheet is selectable
Thank
ErrorHandler
Select Case Err.Numbe
Case 9
t_sheet_no = t_sheet_no +
If t_sheet_no > t_sheet_count The
Sheets(t_sheet_current).Selec
Resume nextWorkboo
End I
Sheets(t_sheet_no).Select ' <--- Error occurred this lin
Range("A1").Selec
Resum
Case Els
MsgBox Err.Number & " : " & Err.Source & "-->" & Err.Description, , "Error
Exit Su
End Selec
I have a VB6 programming and try to select a worksheet by using the command "Sheets(t_sheet_no).Select". And it raises the error as captioned. I guess it is because some sheet is invisible. Is there any command to test if a sheet is selectable
Thank
ErrorHandler
Select Case Err.Numbe
Case 9
t_sheet_no = t_sheet_no +
If t_sheet_no > t_sheet_count The
Sheets(t_sheet_current).Selec
Resume nextWorkboo
End I
Sheets(t_sheet_no).Select ' <--- Error occurred this lin
Range("A1").Selec
Resum
Case Els
MsgBox Err.Number & " : " & Err.Source & "-->" & Err.Description, , "Error
Exit Su
End Selec