Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dear Sirs,
I want to learn that how to get the current module name and Sub in VBA? For example: In a standard module named as "MPEP" ; Sub XYZ() Msgbox "It's an Example" End Sub The result should be: For Module Name: MPEP and For Sub Name: XYZ How we can do this with VBA? Thanks inadvance. Erdinç. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
current week, current month, current year | Excel Programming | |||
Calls from sheet module to ThisWorkbook module | Excel Programming | |||
On Error, Capturing current module and actual line of code | Excel Programming | |||
Calling Macros oustide current module | Excel Programming | |||
Variable from a sheet module in a class module in XL XP | Excel Programming |