ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   COM add-in form show question (https://www.excelbanter.com/excel-programming/388527-com-add-form-show-question.html)

[email protected]

COM add-in form show question
 
I'm developing a COM add-in for Excel using VB 6.0. So far, it works
well with one exception, I haven't been able to keep one of my forms
on top of Excel, yet be modeless.

My code to call the form is as follows:
MyForm.Show vbModeless

The Show function is defined as such:
--------------------------------------------
object.Show style, ownerform

ownerform Optional. A string expression that specifies the component
which "owns" the form being shown. For standard Visual Basic forms,
use the keyword Me
--------------------------------------------

The ownerform parameter is the key here, but so far it's kicking my
butt. I searched a few pages deep but didn't find anything. Any help
would be appreciated.

Thanks,
David



All times are GMT +1. The time now is 07:14 PM.

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