application.caller

  1. S

    Who called this method?

    Is there a way to identify which method calls another. I have a method called from several others. I would like to know which caller it was. Application.Caller is not for this. I want to do something like this. Debug.Print "In write data method." & WhoCalledIt Thanks,
  2. H

    Run simple macro from Application.Caller

    Hello all, I'm new here and though pretty well experienced in data mining and spreadsheets, I'm very poor in programming. For large spreadsheets I use quite some 'Grouping' actions to make it all more compact. The Groupings are called from a button and the name of the button is such that it...
  3. W

    1004 Run-time Error in Application.Caller when calling from another Control Form Object

    Hello all. I used the following line of code... Call Button_Differentials_ZeroOut ...to call another Button [Forms Control] and it blows up the Application.Caller in the "called" button with a "Run-time error '1004' - Unable to get the Buttons property of the Worksheet class. The specific line...
  4. I

    Run-time error '1004' when calling Application.Caller

    Dear all, this is my first post here and I have been using vba only for a month, so sorry for any naïve question. In my excel sheet I have a button which is connected to a macro which copies data from another workbook to the row of the button. The code is here below. I need to get the row...
  5. E

    Subroutine introspection: Can a sub know what sub called it?

    In Excel VBA, if subroutine A calls subroutine B, is there a way for subroutine B to know that subroutine A was what called it? I mean this for run-time, so not talking about watch window. Application.caller seems to give info in calling VBA from Excel, not for info about a subroutine calling...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top