+ Reply to Thread
Results 1 to 12 of 12

ActiveX controls disappearing while running a macro

  1. #1
    Registered User
    Join Date
    11-29-2012
    Location
    Warsaw, poland
    MS-Off Ver
    Excel 2010
    Posts
    77

    ActiveX controls disappearing while running a macro

    I have a poblem with ActiveX controls in the spreadsheet (bcommand buttons, combos, text boxes, spin buttons).

    Basically when macros are running performing different things (calculations or outputting something on screen), all ActiveX controls, disappear for a while. The rest of the excel screen is stable (of course during all types of calculations screenupdating and enableevents options are off.

    Everything works fine - only there is this unwanted effect of blinking ActivaX controls.

    Have you ever encountered something like that? Is there a way to avoid it?

    Thanks anse best

  2. #2
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: ActiveX controls disappearing while running a macro

    activex controls on worksheets are unpredictable. usual recommendation is to use Forms controls whenever possible or use a userform
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  3. #3
    Registered User
    Join Date
    11-29-2012
    Location
    Warsaw, poland
    MS-Off Ver
    Excel 2010
    Posts
    77

    Re: ActiveX controls disappearing while running a macro

    Yes, I know and I am going to change my code in this direction.
    Still - user forms will be activated by buttons, and buttons will blink

  4. #4
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: ActiveX controls disappearing while running a macro

    why not use the ribbon? (forms buttons should not blink though)

  5. #5
    Registered User
    Join Date
    11-29-2012
    Location
    Warsaw, poland
    MS-Off Ver
    Excel 2010
    Posts
    77

    Re: ActiveX controls disappearing while running a macro

    Thanks for a thought!

    I will try to search how it works (never used it before)

  6. #6
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: ActiveX controls disappearing while running a macro

    www.rondebruin.nl/ribbon.htm is a very good place to start learning :-)

  7. #7
    Registered User
    Join Date
    11-29-2012
    Location
    Warsaw, poland
    MS-Off Ver
    Excel 2010
    Posts
    77

    Re: ActiveX controls disappearing while running a macro

    Thanks a lot!

  8. #8
    Registered User
    Join Date
    11-29-2012
    Location
    Warsaw, poland
    MS-Off Ver
    Excel 2010
    Posts
    77

    Re: ActiveX controls disappearing while running a macro

    Joseph - in fact I would like to ask you a favour. I wanted to post a new thread - but apparently I cannot do that (HTTP error 403 - forbidden access bla bla bla...)

    I think you are the moderator - could you establish the new thread for me? And maybe you can help? Thanks in advance and best regards

    ListView problem for 64-bit OS

    All,

    one more question to the more experienced VBA programmers...

    In my application I used Microsoft Liustview 6.0 control, which looks and works excellent, it has exactly properties like I need, and now I cannot even think of using something like ListBox instead.

    There is one problem: it turned out that it is not compatible with 64-bit operating system (used by quite a few people in my company). It is really frustrating.

    Is there any way to deal with that? Perhaps there might be alternative controls that have similar properties and can be used both on 32 bit and 64 bit systems?

    I use this control for the multiple selection panel. The properties that I am very happy with are:
    - named columns (as each displayed position has couple of fields)
    - adjustable column width (as some of the fields like folder names tend to be longer than default width)
    - checkboxes (if there are a lot of positions they are more convenient than multiple selection, but perhaps I could live without them...)

    I will appreciate all your hints. Regards

  9. #9
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: ActiveX controls disappearing while running a macro

    the listview (and other windows common controls) should work on a 64bit OS but not in a 64bit version of Office. I do not personally know of any compatible controls-it is the main reason why microsoft do not recommend installation of 64bit office unless you have a true need for it

  10. #10
    Registered User
    Join Date
    11-29-2012
    Location
    Warsaw, poland
    MS-Off Ver
    Excel 2010
    Posts
    77

    Re: ActiveX controls disappearing while running a macro

    Thanks, this is very helpful. Two additional questions:
    1. Do they intend to solve it?
    2. Is it not a problem to install 32 bit Office on the 64 bit OS?

    Thanks and best regards

  11. #11
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: ActiveX controls disappearing while running a macro

    1 not as far as I know. I don't reckon microsoft will put any resource into updating vba/vb6 in any way
    2 no

    :-)

  12. #12
    Registered User
    Join Date
    11-29-2012
    Location
    Warsaw, poland
    MS-Off Ver
    Excel 2010
    Posts
    77

    Re: ActiveX controls disappearing while running a macro

    Guys,

    It has been a while - I am getting down to development of the ribbon (from the link you provided to me: www.rondebruin.nl/ribbon.htm)

    General question: if I create jus a simple menu tab for my software - may I expect problems with different version of Excel? And which issues can raise to problems - and which not?

    I am using Excel 2010.

    Thanks and best regards

+ 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