Apparently, this does not work.
WHY ???????
I don’t want to do all this just to call my function:
Dim x as new Object()
x.Method()
Why do I have to do this in two lines when I can in one.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to add the Call keyword.
This causes the object to be created before passing to the Call statement.
Yes, I agree,
(New Object()).Method()seems more intuitive.