"What is this resume label" It's simply any label within the procedure at which you want to continue execution, in this instance it would be the label which you had specified in your goto statement (sorry I don't have your email with the code so I can't be more detailed - all you needed to do was replace the "goto label" with Resume Label). Resume is an implicit Err.Clear. If you change that code to assign the result of the inputbox to a string then the inputbox will not generate an error and so you don't need the test for an error after the Inputbox statement, nor do you need an Err.Clear. Indeed in that example there would be no need for a Resume statement at all because any error cannot be caused by a cancel and so the error handler is unlikely to want to continue execution.
Ian ----- Original Message ----- From: HouseDad To: [email protected] Sent: Friday, February 11, 2005 11:23 AM Subject: [vbhelp] Re: Can you explain this simple phenomenon to me? --- In [email protected], "Ian Brooke" <[EMAIL PROTECTED]> wrote: > I learned something about input boxes, thanks! I didn't know they had to be strings, I thought the error was kind of weird. ALso, that isn't the exact code, kind of a stripped-down version to give you an idea of what's going on. What is this resume label you're talking about? I have never heard or read about that. [C] [Non-text portions of this message have been removed] '// ======================================================= 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/
