Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 45
Default Name of Module from Procedure?

Is it possible to get the name of the Module, of which the Procedure is part
of, from within a procedure of that Module?

Did you get my question? :-)
Kind of an 'ActiveModule.Name' request :-)


Thanks,


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 46
Default Name of Module from Procedure?

This previous post might help you.

http://www.officekb.com/Uwe/Forum.as...ive-VBE-Module

Charlotte E. wrote:
Is it possible to get the name of the Module, of which the Procedure is part
of, from within a procedure of that Module?

Did you get my question? :-)
Kind of an 'ActiveModule.Name' request :-)

Thanks,


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200808/1

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 130
Default Name of Module from Procedure?

Application.VBE.ActiveCodePane.CodeModule.Parent.N ame should give you what
you need.

dmoney

"Charlotte E." wrote:

Is it possible to get the name of the Module, of which the Procedure is part
of, from within a procedure of that Module?

Did you get my question? :-)
Kind of an 'ActiveModule.Name' request :-)


Thanks,



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 45
Default Name of Module from Procedure?

And it did :-)

Thanks - worth 'd money' :-)


"dmoney" skrev i en meddelelse
...
Application.VBE.ActiveCodePane.CodeModule.Parent.N ame should give you what
you need.

dmoney

"Charlotte E." wrote:

Is it possible to get the name of the Module, of which the Procedure is
part
of, from within a procedure of that Module?

Did you get my question? :-)
Kind of an 'ActiveModule.Name' request :-)


Thanks,





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
to call procedure in a worksheet in a module CAPTGNVR Excel Discussion (Misc queries) 4 January 30th 07 09:39 PM
How to jump from a Form procedure to a Workbook or Module procedure? T. Erkson Excel Programming 4 January 25th 07 07:15 PM
get module line from erl and procedure RB Smissaert Excel Programming 7 February 17th 06 01:43 AM
Add Procedure To Module Via VBA Al Excel Programming 2 May 20th 05 10:58 PM
Lines in a Module(Procedure) Juan Melero Excel Programming 6 December 30th 03 12:38 AM


All times are GMT +1. The time now is 10:34 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"