+ Reply to Thread
Results 1 to 16 of 16

Excel Com Addin

Hybrid View

Guest Excel Com Addin 06-09-2005, 05:05 PM
Guest Re: Excel Com Addin 06-09-2005, 05:05 PM
Guest Re: Excel Com Addin 06-09-2005, 06:05 PM
Guest Re: Excel Com Addin 06-09-2005, 06:05 PM
Guest Re: Excel Com Addin 06-09-2005, 06:05 PM
Guest Re: Excel Com Addin 06-09-2005, 07:05 PM
Guest Re: Excel Com Addin 06-09-2005, 06:05 PM
Guest Re: Excel Com Addin 06-09-2005, 06:05 PM
Guest Re: Excel Com Addin 06-15-2005, 06:05 PM
Guest Re: Excel Com Addin 06-15-2005, 08:05 PM
Guest Re: Excel Com Addin 06-09-2005, 07:05 PM
Guest Re: Excel Com Addin 06-10-2005, 01:05 AM
Guest Re: Excel Com Addin 06-10-2005, 08:05 AM
Guest Re: Excel Com Addin 06-10-2005, 09:05 AM
Guest Re: Excel Com Addin 06-10-2005, 10:05 AM
Guest Re: Excel Com Addin 06-10-2005, 01:05 PM
  1. #1
    Tushar Mehta
    Guest

    Re: Excel Com Addin

    I did something similar (refedit in a userform shown from a COM Add-in)
    using a 2nd userform. Using XL's InputBox didn't occur to me. Goes to
    show how often I call on it. {grin}

    Anyway, the files describing the technique have been added to the other
    gazillion files in my 'tutorials for the website' folder. {grin}

    --
    Regards,

    Tushar Mehta
    www.tushar-mehta.com
    Excel, PowerPoint, and VBA add-ins, tutorials
    Custom MS Office productivity solutions

    In article <e3sJlVbbFHA.2756@tk2msftngp13.phx.gbl>, rob@analytical-
    dynamicsdotcodotukay says...
    > Roedd <<Tushar Mehta>> wedi ysgrifennu:
    >
    >
    > > Further, and you may already know the answer to this, but I don't, one
    > > should check the interaction between XL, the COM Add-In, and the XL
    > > InputBox dialog box. Will it still be modal? I know that if one has
    > > a userform in a COM Add-In, one needs to take special steps to make it
    > > modal and to ensure it shows within the XL window. Further, it is not
    > > possible to use a RefEdit control in such a userform. Well, one can
    > > create one but it doesn't work. Does InputBox with Type=8 have the
    > > same problem?
    > >

    >
    > FWIW, I once created an ActiveX control for forms in VB6 dlls that emulated
    > the RefEdit using a textbox, a commandbutton and Excel's Inputbox. It worked
    > superbly. I was going to bring it up to commercial standard, but I didn't
    > think the audience was there and then along came .NET
    >
    > <unhelpful>I have not the slightest idea whether a similar .NET control
    > could be created.</unhelpful>
    >
    >


  2. #2
    Nick Hebb
    Guest

    Re: Excel Com Addin

    >>Yes, I know what you were referring to

    Nothing personal Tushar, but I wasn't replying to you. It was a follow
    up to the OP based on her comments above, subsequent to my first post.
    The use of "Application" was just for the sample code - having a local
    variable referencing the Application is fundamental with COM Add-ins so
    I didn't think it was worth mentioning.

    I haven't tried it, but through Interop the modality of the
    Application.InputBox should be the same (i.e., non-modal).


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1