S
Sven
Hi group,
this one is strange: I want to write a SUB-procedure with one parameter like
this:
Sub sh_info(shselect As Integer)
Select Case shselect
Case 1
msg = "Some message text"
Case 2
msg = "Different message"
End Select
End Sub
But, the proc won't execute. Not by pressing F5 (nothing happens) nore by
calling it from a different sub. As there are billions of examples on subs
with parameters, this should work. Why not? Security problems?
(Visual Basic 6.0, Word 2003 SP2, XP prof. SP2)
Thanks in advance for any hint
Sven
this one is strange: I want to write a SUB-procedure with one parameter like
this:
Sub sh_info(shselect As Integer)
Select Case shselect
Case 1
msg = "Some message text"
Case 2
msg = "Different message"
End Select
End Sub
But, the proc won't execute. Not by pressing F5 (nothing happens) nore by
calling it from a different sub. As there are billions of examples on subs
with parameters, this should work. Why not? Security problems?
(Visual Basic 6.0, Word 2003 SP2, XP prof. SP2)
Thanks in advance for any hint
Sven