ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   VBA code line to ascertain if VBAProject(Test) in the IDE is open (https://www.excelbanter.com/excel-programming/429488-vba-code-line-ascertain-if-vbaproject-test-ide-open.html)

[email protected]

VBA code line to ascertain if VBAProject(Test) in the IDE is open
 
2003, 2007

Assume:

a VBA project VBAProject(Test) is listed in IDE

What VBA code line would "sense" (True/False) if and attempt to open VBAProject(Test) is requested?

And/Or if VBAProject(Test) is open in an IDE window?

And/Or if the IDE is open?

TIA EagleOne

Héctor Miguel

VBA code line to ascertain if VBAProject(Test) in the IDE is open
 
hi, !

2003, 2007 Assume: a VBA project VBAProject(Test) is listed in IDE
What VBA code line would "sense" (True/False) if and attempt to open VBAProject(Test) is requested?
And/Or if VBAProject(Test) is open in an IDE window?
And/Or if the IDE is open?


I don't think that vba-code could "sense" if (another) vba-code attempts to enter in a vba-project (???)

you can find what (and how) to do in the vbe-ide through code starting from this page:
(Chip Pearson): Programming The VBA Editor: http://www.cpearson.com/Excel/vbe.aspx

if you need to catch when somebody tries to profanate your macros...
you should use/back to the (ancient ?) xl4 macro-functions programming language

regards,
hector.



[email protected]

VBA code line to ascertain if VBAProject(Test) in the IDE is open
 


Hector, I appreciate your thoughts, time and knowledge.


Héctor Miguel" wrote:

hi, !

2003, 2007 Assume: a VBA project VBAProject(Test) is listed in IDE
What VBA code line would "sense" (True/False) if and attempt to open VBAProject(Test) is requested?
And/Or if VBAProject(Test) is open in an IDE window?
And/Or if the IDE is open?


I don't think that vba-code could "sense" if (another) vba-code attempts to enter in a vba-project (???)

you can find what (and how) to do in the vbe-ide through code starting from this page:
(Chip Pearson): Programming The VBA Editor: http://www.cpearson.com/Excel/vbe.aspx

if you need to catch when somebody tries to profanate your macros...
you should use/back to the (ancient ?) xl4 macro-functions programming language

regards,
hector.


Héctor Miguel

VBA code line to ascertain if VBAProject(Test) in the IDE is open
 
hi, !

... I appreciate your thoughts, time and knowledge.


thanks for your feed-back (and...)

I just try to be a "mirror" of the knowledge from so many others :D

regards,
hector.




All times are GMT +1. The time now is 02:32 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com