English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I'm new at this.
If I write several sub procedures that can/will be called numerous times by other macros, I understand that the sub procedure contains "End Sub". Does the macro stop?
After excuting the sub procedure, I can't see how the sub procedure "Returns" to the Macro from which it is called, and to the "proper point" from which it was called.
Is it automatic?
Does it need another statement?
Damn books!
Lotus 123, merely used a "return" statement. Old hat now.

Help Please.

2007-10-31 03:43:50 · 1 answers · asked by ed 7 in Computers & Internet Programming & Design

1 answers

The "End Sub" will automatically return you to the calling module to the next instruction after the call to the subroutine.

The "return" statement is still used and can be used mid way through a subroutine to return at a given point.

2007-10-31 04:09:09 · answer #1 · answered by Xelfman 2 · 0 0

fedest.com, questions and answers