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 VBAProject ???

All VBAProject gets the name "VBAProject" by default.

But sometimes it is nice to be able to rename it - which luckily is easy
done :-)

But, is there anyway to determine the name of the VBA project, which the
current/running macro/sub is placed in?


TIA,



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,420
Default Name of VBAProject ???

MsgBox Application.VBE.ActiveVBProject.Name


--
__________________________________
HTH

Bob

"Charlotte E." wrote in message
...
All VBAProject gets the name "VBAProject" by default.

But sometimes it is nice to be able to rename it - which luckily is easy
done :-)

But, is there anyway to determine the name of the VBA project, which the
current/running macro/sub is placed in?


TIA,





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
VBAProject Daniel[_4_] Excel Programming 5 July 4th 05 12:01 PM
VBAProject Andy Excel Worksheet Functions 1 January 10th 05 02:53 PM
UNSAVED: VBAProject Fabian Grodek Excel Programming 1 December 22nd 04 05:29 PM
VBAProject scope Bill Baker Excel Programming 0 July 15th 04 10:29 PM
How to get rid of a VBAProject? GF[_2_] Excel Programming 1 February 20th 04 03:10 PM


All times are GMT +1. The time now is 01:18 PM.

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"