SHARE
TWEET

Untitled

a guest Jul 12th, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Public Sub Test()
  2.  
  3. Call CaseTest(Case2)
  4.  
  5. End Sub
  6.      
  7. Public Sub CaseTest(CaseSelect)
  8.  
  9. Select Case CaseSelect
  10.  
  11. Case Case1
  12.  
  13. MsgBox "Case1"
  14.  
  15. Case Case2
  16.  
  17. MsgBox "Case2"
  18.  
  19. End Select
  20. End Sub
  21.      
  22. Call CaseTest("Case2")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top