SHARE
TWEET

Untitled

a guest Aug 13th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Option Explicit
  2.  
  3. Public Sub test()
  4.     Const B As Long = 0
  5.     Dim C As Long
  6.     Const A As Long = 1
  7.  
  8.     If B > 0 Then
  9.         For C = A To A + B
  10.             Debug.Print 1
  11.         Next
  12.     End If
  13.  
  14. End Sub
  15.  
  16. Public Sub test2()
  17.     Const B As Long = 0
  18.     Const A As Long = 1
  19.     Dim C As Long
  20.     For C = A To A + B
  21.         Debug.Print 1
  22.     Next
  23. End Sub
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
 
Top