--- In [email protected], Don Roberts <[EMAIL PROTECTED]> wrote:
>

 While Len(strLineToBeChanged) < 1
> 
>         strLineToBeChanged = Trim$(InputBox("Which line to 
change?"))
>         'code to check whether a number was entered and convert it 
to integer
>     Wend


This is basically what I have been doing elsewhere, such as:

do until inputvalue>5 and inputvalue<10
inputvalue=inputbox("Enter a value (must be between 5 and 10)")
loop

This bypasses the whole problem with the error, but I didn't code the 
other stuff the same way and was trying to learn what the problem was 
with the integer/inputbox/and error trapping mainly for educational 
purposes.








'// =======================================================
    Rules : http://ReliableAnswers.com/List/Rules.asp
    Home  : http://groups.yahoo.com/group/vbHelp/
    =======================================================
    Post  : [email protected]
    Join  : [EMAIL PROTECTED]
    Leave : [EMAIL PROTECTED]
'// =======================================================
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/vbhelp/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to