Results 1 to 3 of 3

Thread: ACTIVE WINDOW in addin

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2001
    Posts
    30

    Angry

    hello i need someone help please !!!
    i make an addin and i want to know who is the active form in the project.
    when i look at the property :
    VBInstance.ActiveWindow i get nothing.

    in the connect.dsr in the sub:
    AddinInstance_OnConnection

    in the line :
    Set VBInstance = Application

    the property of
    Application.ActiveWindow is also nothing .

    so please someone help me , how can i get the active form in addin ???????

  2. #2
    Addicted Member wolfofthenorth's Avatar
    Join Date
    Jan 2001
    Location
    Tatooine
    Posts
    169
    Hi,

    Maybe this will work for you...

    Screen.ActiveForm
    That which does not kill us, only makes us stronger.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jan 2001
    Posts
    30

    Cool no but thanks and the answer is :

    no , that doesn work cause the form active screen is the addins form .
    but thanks anyway.
    if you want i found the answer :
    VBInstance.SelectedVBComponent

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width