• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Display argument values when calling a subroutine in VBA

AK

New Member
I am writing a macro and calling another subroutine from within that macro. The subroutine has around 3 arguments which are integers. The values of the arguments can only be between 1 and 4, each integer denoting a specific case which is handled in the subroutine. While i am typing to call the subroutine, Excel/VBA provides help by displaying the arguments. I want Excel/VBA to display the value of the argument also (e.g. 1,2,3,4).


To clarify, when we insert the SUBTOTAL function in an excel cell, the first argument can take values 1,2,3 etc. each denoting something which is displayed in Excel. Can I achieve something like this when I am typing the subroutine name while writing the macro.


AK
 
Back
Top