![]() |
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, |
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, |
All times are GMT +1. The time now is 02:10 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com