Option Explicit
Predict the outcome:
Sub MSO()
Debug.Print msoTrue
Debug.Print msoTrue * 1
Debug.Print Val(msoTrue)
Debug.Print Val("msoTrue")
End Sub
Sub Y()
Debug.Print True
Debug.Print True * 1
Debug.Print Val(True)
Debug.Print Val("True")
End Sub
Predict the outcome:
Sub MSO()
Debug.Print msoTrue
Debug.Print msoTrue * 1
Debug.Print Val(msoTrue)
Debug.Print Val("msoTrue")
End Sub
Sub Y()
Debug.Print True
Debug.Print True * 1
Debug.Print Val(True)
Debug.Print Val("True")
End Sub
No comments:
Post a Comment