Home

ActiveX buttons unresponsive or having to be clicked twice to run macro

%3CLINGO-SUB%20id%3D%22lingo-sub-391962%22%20slang%3D%22en-US%22%3EActiveX%20buttons%20unresponsive%20or%20having%20to%20be%20clicked%20twice%20to%20run%20macro%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-391962%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%20community!%3C%2FP%3E%3CP%3EI%20inherited%26nbsp%3Btwo%20Excel%20files%20that%20come%20with%20a%20bunch%20of%20ActiveX%20buttons.%3C%2FP%3E%3CP%3EIn%20some%20cases%20the%20buttons%20don't%20do%20anything%3A%20I%20click%20them%2C%20it%20shows%20kind%20of%20a%20duplicate%20image%20of%20the%20button%20on%20the%20side%20when%20I%20press%20the%20button%2C%20but%20nothing%20happens.%20The%20macro%20associated%20runs%20well%20if%20I%20run%20it%20from%20the%20VB%20Editor.%26nbsp%3B%3C%2FP%3E%3CP%3EOn%20the%20other%20file%2C%20the%20buttons%20do%20work%20but%20only%20when%20I%20click%20them%20for%20the%20second%20time.%20Any%20idea%20what%20may%20cause%20this%20to%20happen%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20in%20advance%20for%20any%20tip%20or%26nbsp%3Bguidance.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-391962%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EActiveX%20Buttons%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMacros%20and%20VBA%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-392780%22%20slang%3D%22en-US%22%3ERe%3A%20ActiveX%20buttons%20unresponsive%20or%20having%20to%20be%20clicked%20twice%20to%20run%20macro%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-392780%22%20slang%3D%22en-US%22%3EHard%20to%20say%20without%20the%20file.%20ActiveX%20buttons%20do%20cause%20havoc%20at%20times%2C%20perhaps%20replacing%20them%20with%20forms%20buttons%20helps%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-735414%22%20slang%3D%22en-US%22%3ERe%3A%20ActiveX%20buttons%20unresponsive%20or%20having%20to%20be%20clicked%20twice%20to%20run%20macro%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-735414%22%20slang%3D%22en-US%22%3EHi%20Celia%2C%3CBR%20%2F%3E%3CBR%20%2F%3EI've%20just%20started%20having%20this%20issue%20-%20on%20my%20old%20laptop%20it%20was%20only%20one%20click%20to%20make%20the%20buttons%20work%2C%20but%20now%20on%20Windows%2010%20it%20takes%20a%20double-click%20to%20make%20them%20work%3F%20So%20strange%2C%20never%20seen%20this%20before.%3CBR%20%2F%3E%3CBR%20%2F%3EJust%20wondering%20if%20you%20ended%20up%20finding%20the%20issue%3F%3CBR%20%2F%3E%3CBR%20%2F%3ECheers%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-736148%22%20slang%3D%22en-US%22%3ERe%3A%20ActiveX%20buttons%20unresponsive%20or%20having%20to%20be%20clicked%20twice%20to%20run%20macro%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-736148%22%20slang%3D%22en-US%22%3EHi%2C%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F370217%22%20target%3D%22_blank%22%3E%40_Ness_%3C%2FA%3E.%3CBR%20%2F%3EUnfortunately%2C%20I%20did%20not%20find%20the%20cause%20or%20a%20solution.%3CBR%20%2F%3EIf%20I%20remember%2C%20I%20think%20that%20in%20one%20of%20the%20cases%2C%20deleting%20the%20button%20and%20creating%20a%20new%20one%2C%20helped.%20I%20am%20not%20sure%20if%20I%20replaced%20it%20with%20an%20active%20x%20button%20or%20one%20of%20the%20other%20button%20types.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1014675%22%20slang%3D%22en-US%22%3ERe%3A%20ActiveX%20buttons%20unresponsive%20or%20having%20to%20be%20clicked%20twice%20to%20run%20macro%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1014675%22%20slang%3D%22en-US%22%3EThey%20worked%20reliably%20enough%20until%20recently%20for%20what%20I%20use%20them%20for%20which%20is%20generally%20to%20display%20and%20hide%20text%20boxes.%20I%20find%20this%20useful%20as%20you%20can%20display%20text%20to%20explain%20what%20a%20workbook%2Fworksheet%20is%20doing%2Fwhat%20it%20is%20for%2Fhow%20to%20sue%20it%20etc.%20and%20then%20hide%20the%20text%20so%20that%20it%20doesn't%20obscure%20the%20data.%20I%20don't%20know%20of%20another%20way%20to%20do%20that.%20I%20guess%20an%20ordinary%20button%20may%20work%2C%20but%2C%20as%20I%20say%20there%20is%20a%20snag%20to%20using%20them%20-%20which%20may%20be%20that%20I'd%20just%20have%20to%20edit%20all%20that%20worksheet%20vba%20I%20have.%20What%20a%20pain.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1014704%22%20slang%3D%22en-US%22%3ERe%3A%20ActiveX%20buttons%20unresponsive%20or%20having%20to%20be%20clicked%20twice%20to%20run%20macro%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1014704%22%20slang%3D%22en-US%22%3EAs%20far%20as%20I%20know%2C%20regular%20shapes%20mostly%20behave%20themselves.%20You%20can%20assign%20macro's%20to%20a%20shape%20too%2C%20so%20it%20might%20fit%20your%20need%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1014719%22%20slang%3D%22en-US%22%3ERe%3A%20ActiveX%20buttons%20unresponsive%20or%20having%20to%20be%20clicked%20twice%20to%20run%20macro%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1014719%22%20slang%3D%22en-US%22%3EMaybe%2C%20I%20did%20look%20into%20it%20before%20and%20as%20I%20say%20there%20was%20a%20snag%2C%20I%20can't%20remember%20what%20it%20was%2C%20-%20I%20don't%20have%20time%20to%20look%20into%20it%20again%20right%20now%20-%20but%2C%20if%2C%20as%20you%20say%2C%20MS%20have%20now%20broken%20activeX%20controls%20and%20are%20unlikely%20to%20fix%20them%2C%20then%20I'll%20have%20no%20choice%20but%20to%20try%20that%20eventually.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1014729%22%20slang%3D%22en-US%22%3ERe%3A%20ActiveX%20buttons%20unresponsive%20or%20having%20to%20be%20clicked%20twice%20to%20run%20macro%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1014729%22%20slang%3D%22en-US%22%3EI'm%20not%20aware%20of%20any%20recent%20change%20to%20the%20working%20of%20ActiveX%20controls.%20There%20was%20a%20problem%20a%20couple%20of%20years%20ago%2C%20that%20I%20do%20know.%20Try%20clearing%20your%20temporary%20files%2C%20especially%20files%20with%20the%20.exd%20extension%20must%20be%20deleted%20from%20your%20temporary%20folders.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1014940%22%20slang%3D%22en-US%22%3ERe%3A%20ActiveX%20buttons%20unresponsive%20or%20having%20to%20be%20clicked%20twice%20to%20run%20macro%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1014940%22%20slang%3D%22en-US%22%3EMmm%2C%20well%2C%20I%20labour%20under%20corporate%20lockdown%2C%20as%20do%20many%2C%20of%20course%20I%20could%20raise%20a%20ticket%20to%20get%20these%20cleared%2C%20if%20there%20are%20any%20(I%20can't%20even%20look).%20Maybe%20I%20will.%20Thanks.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1014984%22%20slang%3D%22en-US%22%3ERe%3A%20ActiveX%20buttons%20unresponsive%20or%20having%20to%20be%20clicked%20twice%20to%20run%20macro%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1014984%22%20slang%3D%22en-US%22%3EDoes%20typing%20this%20in%20the%20Windows%20explorer%20address%20bar%20take%20you%20anywhere%3A%20%25temp%25%20(and%20press%20enter%20of%20course)%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1015234%22%20slang%3D%22en-US%22%3ERe%3A%20ActiveX%20buttons%20unresponsive%20or%20having%20to%20be%20clicked%20twice%20to%20run%20macro%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1015234%22%20slang%3D%22en-US%22%3EYes%20it%20did%2C%20thanks.%20I%20found%20one%20exd%20file%20there%20-%20which%20I%20am%20unable%20to%20delete%20at%20the%20moment%20as%20I%20have%20excel%20open%20and%20it%20is%20in%20use%2C%20it%20tells%20me.%20Too%20many%20things%20open%20now%20to%20close%20everything%20for%20this%20-%20but%20when%20I%20shut%20down%20I'll%20delete%20it.%20I%20presume%20it%20will%20get%20created%20again%20(the%20last%20modified%20date%20of%20it%20is%20the%2014th).%20I%20did%20go%20%22looking%22%20for%20this%20folder%20manually%20as%20it%20were%20but%20couldn't%20see%20it.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1015285%22%20slang%3D%22en-US%22%3ERe%3A%20ActiveX%20buttons%20unresponsive%20or%20having%20to%20be%20clicked%20twice%20to%20run%20macro%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1015285%22%20slang%3D%22en-US%22%3EIt%20may%20be%20necessary%20to%20weed%20out%20subfolders%20as%20well.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1015314%22%20slang%3D%22en-US%22%3ERe%3A%20ActiveX%20buttons%20unresponsive%20or%20having%20to%20be%20clicked%20twice%20to%20run%20macro%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1015314%22%20slang%3D%22en-US%22%3Esubfolders%20of%20Temp%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1015708%22%20slang%3D%22en-US%22%3ERe%3A%20ActiveX%20buttons%20unresponsive%20or%20having%20to%20be%20clicked%20twice%20to%20run%20macro%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1015708%22%20slang%3D%22en-US%22%3EIndeed%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1016177%22%20slang%3D%22en-US%22%3ERe%3A%20ActiveX%20buttons%20unresponsive%20or%20having%20to%20be%20clicked%20twice%20to%20run%20macro%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1016177%22%20slang%3D%22en-US%22%3EI%20never%20really%20understood%20what%20caused%20this%20issue.%20Vid%20kuch%20abd%20let%20us%20know%20how%20it%20goes.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1016865%22%20slang%3D%22en-US%22%3ERe%3A%20ActiveX%20buttons%20unresponsive%20or%20having%20to%20be%20clicked%20twice%20to%20run%20macro%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1016865%22%20slang%3D%22en-US%22%3EThere%20did%20appear%20to%20be%20only%20one%20.exd%20file.%20Default%20search%20seems%20to%20find%20anything%20in%20subfolders%20of%20the%20folder%20you're%20in%20too.%20I%20deleted%20the%20one%20I%20found%20which%20was%20the%20only%20thing%20in%20a%20folder%20called%20Excel%208.0.%20It%20seems%20to%20have%20done%20the%20trick%20though%2C%20so%2C%20thanks.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1017018%22%20slang%3D%22en-US%22%3ERe%3A%20ActiveX%20buttons%20unresponsive%20or%20having%20to%20be%20clicked%20twice%20to%20run%20macro%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1017018%22%20slang%3D%22en-US%22%3EOutstanding!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1014662%22%20slang%3D%22en-US%22%3ERe%3A%20ActiveX%20buttons%20unresponsive%20or%20having%20to%20be%20clicked%20twice%20to%20run%20macro%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1014662%22%20slang%3D%22en-US%22%3E%3CP%3Eoi%20tudo%20bem%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F302344%22%20target%3D%22_blank%22%3E%40Celia_Alves%3C%2FA%3E%26nbsp%3B%20I%20have%20this%20issue%20too.%20I%20don't%20think%20it's%20W10%20%3CEM%3Eper-se%3C%2FEM%3E%20as%20they%20were%20fine%20until%20recently%20-%20so%20it's%20something%20to%20do%20with%20a%20recent%20update%20I%20would%20say.%20I%20did%20look%20at%20replacing%20them%20with%20ordinary%20buttons%20but%20there%20was%20some%20disadvantage%20to%20that%20-%20which%20I%20can't%20recall%20right%20now.%20I'll%20try%20the%20%22delete%20and%20replace%20with%20new%22%20approach%20to%20see%20if%20that%20works%2C%20though%2C%20even%20if%20it%20does%2C%20it's%20hardly%20satisfactory.%20I%20don't%20recall%20a%20recent%20update%20coming%20with%20a%20disclaimer%20from%20MS%20saying%20that%20activeX%20macro%20buttons%20may%20not%20work%20(properly)%20anymore%20(mind%20you%20I%20expect%20what%20the%20small%20print%20actually%20says%20is%20that%20if%20their%20update%20causes%20Armageddon%20it's%20still%20not%20their%20fault!).%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1014669%22%20slang%3D%22en-US%22%3ERe%3A%20ActiveX%20buttons%20unresponsive%20or%20having%20to%20be%20clicked%20twice%20to%20run%20macro%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1014669%22%20slang%3D%22en-US%22%3EActiveX%20buttons%20have%20never%20been%20very%20reliable%20in%20my%20experience.%20Given%20that%20it%20is%20unlikely%20that%20Microsoft%20will%20fix%20that%20issue%20I%20always%20advise%3A%3CBR%20%2F%3E1.%20Use%20the%20forms%20controls%20instead%3CBR%20%2F%3E2.%20Even%20better%2C%20avoid%20controls%20to%20begin%20with.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1032257%22%20slang%3D%22en-US%22%3ERe%3A%20ActiveX%20buttons%20unresponsive%20or%20having%20to%20be%20clicked%20twice%20to%20run%20macro%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1032257%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F22322%22%20target%3D%22_blank%22%3E%40Jan%20Karel%20Pieterse%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20have%20any%20other%20ideas%2C%20I%20would%20appreciate%20hearing%20them.%26nbsp%3B%20I've%20described%20everything%20I%20can%20think%20of%20that%20is%20relevant%20below.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EActiveX%20buttons%20that%20used%20to%20work%20on%20a%20single%20click%20now%20required%20two%20clicks%20to%20activate%20the%20macro.%20The%20buttons%20worked%20fine%20on%20my%20previous%20machine%20which%20was%2C%20as%20far%20as%20I%20can%20tell%2C%20identical.%26nbsp%3B%20I%20have%20dozens%20of%20spreadsheets%20that%20are%20affected%2C%20each%20spreadsheet%20has%20many%20buttons%20(15-20)%20so%20I%20can't%20replace%20the%20buttons%20on%20each%20one.%26nbsp%3BThe%20functionality%20is%20occurring%20on%20two%20machines%20in%20my%20department%20(of%204)%2C%20both%20recently%20configured.%26nbsp%3B%20The%20problem%20does%20not%20occur%20on%20the%20other%20two%20(older)%20machines%20in%20my%20department.%26nbsp%3B%20The%20other%20machine%20in%20my%20department%20that%20has%20problems%20is%20a%20Lenovo%20T570.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EThings%20I%20have%20checked%20for%20my%20machine%3A%3C%2FP%3E%3CP%3E-%20Hardware%3A%20Microsoft%20Surface%20model%201769%3C%2FP%3E%3CP%3E-%20Operating%20system%3A%20Windows%2010%3C%2FP%3E%3CP%3E-%20Microsoft%20Excel%20for%20Office%20365%20MSO%20(16.0.12026.20344)%2064%20bit%20(previous%20version%20was%2064%20bit%20%E2%80%9CMicrosoft%20Excel%20for%20Office%20365%20MSO%20(16.%E2%80%9D%20but%20I%20can%E2%80%99t%20prove%20the%20exact%20version).%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EThe%20functionality%20is%20the%20same%20whether%20the%20file%20is%20opened%20from%20a%20SharePoint%20(SP)%20web%20page%2C%20a%20local%20synced%20folder%2C%20or%20on%20the%20local%20HD%20(not%20synced).%3CBR%20%2F%3E%3CBR%20%2F%3ETwo%20single%20clicks%20cause%20the%20macro%20to%20activate%20on%20the%20second%20click.%26nbsp%3B%20The%20second%20click%20can%20be%20separated%20from%20the%20first%20by%20anything%20up%20to%201%20minute%20(didn't%20wait%20any%20longer).%26nbsp%3B%20If%20the%20cursor%20leaves%20the%20button%20between%20clicks%2C%20then%20it%20is%20as%20if%20the%20button%20has%20not%20been%20clicked.%26nbsp%3B%20Similarly%2C%20a%20single%20click%2C%20switching%20windows%20(Alt-Tab)%20switching%20back%20and%20clicking%20again%20acts%20the%20same%20as%20a%20single%20click%20(does%20nothing).%3C%2FP%3E%3CP%3EDouble%20clicking%20the%20button%20is%20no%20different%20than%20single%20clicking.%26nbsp%3BThe%20two%20clicks%20must%20be%20separated%20by%20at%20least%201%20second.%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20problem%20occurred%20before%20I%20installed%20many%20of%20my%20custom%20programs%20so%20they%20should%20not%20be%20the%20issue.%3C%2FP%3E%3CP%3EI%20noticed%20the%20problem%20on%20the%20first%20day%20I%20used%20a%20spreadsheet%20with%20an%20ActiveX%20control.%20The%20problem%20has%20continued%20on%20subsequent%20days%20despite%20reboots%20and%20cold%20starts%20(over%202%20weeks%20now).%3C%2FP%3E%3CP%3EI%20followed%20the%20directions%20above%2C%20I%20tried%3A%3C%2FP%3E%3CP%3E-%20deleting%20%5CAppData%5CLocal%5CTemp%5CExcel8.0%5CMSForms.exd%20and%20then%20re-running%20Excel.%26nbsp%3B%3C%2FP%3E%3CP%3E-%20deleting%20MSForms.exd%2C%20rebooting%2C%20and%20then%20re-running%20Excel.%3C%2FP%3E%3CP%3E-%20deleting%20everything%20I%20could%20delete%20in%20%E2%80%A6%5CAppData%5CLocal%5CTemp%5C*.*%20including%20sub%20folders%2C%20rebooting%2C%20and%20then%20re-running%20Excel.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1110120%22%20slang%3D%22en-US%22%3ERe%3A%20ActiveX%20buttons%20unresponsive%20or%20having%20to%20be%20clicked%20twice%20to%20run%20macro%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1110120%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20also%20tried%20these%20solutions%20but%20nothing%20works...%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20activex%20button%20works%20the%20first%20click%20when%20i%20open%20excel%2C%20but%20stops%20working%20after%20that.%20Running%20the%20macro%20from%20inside%20VBA%20project%20works%20fine.%20The%20button%20seems%20to%20lose%20its%20connection%20with%20the%20macro.%20Driving%20me%20crazy%2C%20and%20I%20really%20don't%20want%20to%20replace%20with%20Form%20Control.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1111179%22%20slang%3D%22en-US%22%3ERe%3A%20ActiveX%20buttons%20unresponsive%20or%20having%20to%20be%20clicked%20twice%20to%20run%20macro%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1111179%22%20slang%3D%22en-US%22%3EWhy%20don't%20you%20want%20to%20use%20the%20forms%20button%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1111392%22%20slang%3D%22en-US%22%3ERe%3A%20ActiveX%20buttons%20unresponsive%20or%20having%20to%20be%20clicked%20twice%20to%20run%20macro%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1111392%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F22322%22%20target%3D%22_blank%22%3E%40Jan%20Karel%20Pieterse%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ELet%20me%20preface%20my%20response%20with%20the%20fact%20that%20I%20am%20new%20to%20VBA%20and%20coding%20in%20general.%20My%20approach%20to%20learning%20new%20things%20is%20to%20learn%20as%20much%20as%20I%20possibly%20can%20and%20to%20use%20tools%20that%20allow%20the%20most%20flexibility.%20My%20understanding%20is%20it%20ActiveX%20controls%20are%20more%20dynamic%20than%20form%20controls%20and%20so%20that's%20what%20I%20started%20using.%20At%20this%20point%20I'm%20more%20interested%20in%20understanding%20what's%20going%20on%20rather%20than%20identifying%20a%20workaround.%20I%20certainly%20could%20use%20the%20form%20buttons%20if%20I%20just%20wanted%20it%20to%20work.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20also%20tried%26nbsp%3Bdeleting%20the%20.exd%20files%20from%20Temp%2C%20restarting%20PC%2C%20copying%20everything%20to%20a%20new%20file.%20Other%20Active%20X%20buttons%20(linked%20to%20a%20different%20module%20but%20in%20the%20same%20manner)%20work%20without%20issue.%20Just%20this%20one%20(and%20its%20multiple%20copies%20across%20sheets)%20doesn't%20work.%3C%2FP%3E%3CP%20class%3D%22_1qeIAgB0cPwnLhDF9XSiJM%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22_1qeIAgB0cPwnLhDF9XSiJM%22%3EI%20created%20a%20new%20button%20in%20a%20blank%20sheet%20in%20the%20same%20workbook%20and%20it%20runs%20the%20macro%20every%20time.%20The%20buttons%20on%20the%20original%20sheets%20still%20fail.%3C%2FP%3E%3CP%20class%3D%22_1qeIAgB0cPwnLhDF9XSiJM%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22_1qeIAgB0cPwnLhDF9XSiJM%22%3EIf%20I%20change%20the%20button%20event%20to%20MouseDown%20(from%20Click)%20it%20works.%3C%2FP%3E%3CP%20class%3D%22_1qeIAgB0cPwnLhDF9XSiJM%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22_1qeIAgB0cPwnLhDF9XSiJM%22%3EEven%20if%20I%20edit%20the%20button%20click%20event%20sub%20to%20only%20include%20a%20MsgBox%20(rather%20than%20Application.Run%20%22module...)%20it%20doesn't%20even%20work.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1112128%22%20slang%3D%22en-US%22%3ERe%3A%20ActiveX%20buttons%20unresponsive%20or%20having%20to%20be%20clicked%20twice%20to%20run%20macro%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1112128%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F519125%22%20target%3D%22_blank%22%3E%40Anammox%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EWell%2C%20it%20is%20oddities%20like%20this%20one%20that%20keep%20me%20from%20using%20ActiveX%20controls.%20Unless%20there%20is%20specific%20functionality%20only%20these%20controls%20have%20to%20offer%20(like%20events%20other%20than%20click)%20I%20keep%20away%20from%20them.%20And%20even%20then%2C%20the%20Forms%20controls%20too%20have%20their%20issues.%20I%20also%20do%20not%20like%20using%20controls%20to%20build%20data%20entry%20functionality.%20Data%20validation%20is%20more%20robust%20and%20also%20works%20on%20different%20platforms%20like%20Excel%20on-line.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1112702%22%20slang%3D%22en-US%22%3ERe%3A%20ActiveX%20buttons%20unresponsive%20or%20having%20to%20be%20clicked%20twice%20to%20run%20macro%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1112702%22%20slang%3D%22en-US%22%3EI%20see%2C%20thanks%20for%20the%20guidance.%3CBR%20%2F%3E%3CBR%20%2F%3ECould%20you%20give%20me%20an%20idea%20ofnhow%20data%20validation%20would%20work%20for%20data%20entry%3F%3CBR%20%2F%3E%3CBR%20%2F%3EIn%20my%20case%20I%20am%20using%20the%20button%20to%20work%20through%20a%20series%20of%20if%20statements%20that%20read%20values%20from%20several%20cells%20and%20produce%20a%20text%20string%20in%20another%20cell%20as%20a%20result.%20Not%20sure%20how%20to%20otherwise%20perform%20that%20task%20without%20an%20on%20demand%20button.%3C%2FLINGO-BODY%3E
Frequent Contributor

Hello, community!

I inherited two Excel files that come with a bunch of ActiveX buttons.

In some cases the buttons don't do anything: I click them, it shows kind of a duplicate image of the button on the side when I press the button, but nothing happens. The macro associated runs well if I run it from the VB Editor. 

On the other file, the buttons do work but only when I click them for the second time. Any idea what may cause this to happen?

 

Thank you in advance for any tip or guidance.

24 Replies
Hard to say without the file. ActiveX buttons do cause havoc at times, perhaps replacing them with forms buttons helps?
Hi Celia,

I've just started having this issue - on my old laptop it was only one click to make the buttons work, but now on Windows 10 it takes a double-click to make them work? So strange, never seen this before.

Just wondering if you ended up finding the issue?

Cheers
Hi, @_Ness_.
Unfortunately, I did not find the cause or a solution.
If I remember, I think that in one of the cases, deleting the button and creating a new one, helped. I am not sure if I replaced it with an active x button or one of the other button types.

oi tudo bem @Celia_Alves  I have this issue too. I don't think it's W10 per-se as they were fine until recently - so it's something to do with a recent update I would say. I did look at replacing them with ordinary buttons but there was some disadvantage to that - which I can't recall right now. I'll try the "delete and replace with new" approach to see if that works, though, even if it does, it's hardly satisfactory. I don't recall a recent update coming with a disclaimer from MS saying that activeX macro buttons may not work (properly) anymore (mind you I expect what the small print actually says is that if their update causes Armageddon it's still not their fault!).

ActiveX buttons have never been very reliable in my experience. Given that it is unlikely that Microsoft will fix that issue I always advise:
1. Use the forms controls instead
2. Even better, avoid controls to begin with.
They worked reliably enough until recently for what I use them for which is generally to display and hide text boxes. I find this useful as you can display text to explain what a workbook/worksheet is doing/what it is for/how to sue it etc. and then hide the text so that it doesn't obscure the data. I don't know of another way to do that. I guess an ordinary button may work, but, as I say there is a snag to using them - which may be that I'd just have to edit all that worksheet vba I have. What a pain.
As far as I know, regular shapes mostly behave themselves. You can assign macro's to a shape too, so it might fit your need?
Maybe, I did look into it before and as I say there was a snag, I can't remember what it was, - I don't have time to look into it again right now - but, if, as you say, MS have now broken activeX controls and are unlikely to fix them, then I'll have no choice but to try that eventually.
I'm not aware of any recent change to the working of ActiveX controls. There was a problem a couple of years ago, that I do know. Try clearing your temporary files, especially files with the .exd extension must be deleted from your temporary folders.
Mmm, well, I labour under corporate lockdown, as do many, of course I could raise a ticket to get these cleared, if there are any (I can't even look). Maybe I will. Thanks.
Does typing this in the Windows explorer address bar take you anywhere: %temp% (and press enter of course)?
Yes it did, thanks. I found one exd file there - which I am unable to delete at the moment as I have excel open and it is in use, it tells me. Too many things open now to close everything for this - but when I shut down I'll delete it. I presume it will get created again (the last modified date of it is the 14th). I did go "looking" for this folder manually as it were but couldn't see it.
It may be necessary to weed out subfolders as well.
I never really understood what caused this issue. Vid kuch abd let us know how it goes.
There did appear to be only one .exd file. Default search seems to find anything in subfolders of the folder you're in too. I deleted the one I found which was the only thing in a folder called Excel 8.0. It seems to have done the trick though, so, thanks.

@Jan Karel Pieterse 

If you have any other ideas, I would appreciate hearing them.  I've described everything I can think of that is relevant below.

 

ActiveX buttons that used to work on a single click now required two clicks to activate the macro. The buttons worked fine on my previous machine which was, as far as I can tell, identical.  I have dozens of spreadsheets that are affected, each spreadsheet has many buttons (15-20) so I can't replace the buttons on each one. The functionality is occurring on two machines in my department (of 4), both recently configured.  The problem does not occur on the other two (older) machines in my department.  The other machine in my department that has problems is a Lenovo T570.

Things I have checked for my machine:

- Hardware: Microsoft Surface model 1769

- Operating system: Windows 10

- Microsoft Excel for Office 365 MSO (16.0.12026.20344) 64 bit (previous version was 64 bit “Microsoft Excel for Office 365 MSO (16.” but I can’t prove the exact version).


The functionality is the same whether the file is opened from a SharePoint (SP) web page, a local synced folder, or on the local HD (not synced).

Two single clicks cause the macro to activate on the second click.  The second click can be separated from the first by anything up to 1 minute (didn't wait any longer).  If the cursor leaves the button between clicks, then it is as if the button has not been clicked.  Similarly, a single click, switching windows (Alt-Tab) switching back and clicking again acts the same as a single click (does nothing).

Double clicking the button is no different than single clicking. The two clicks must be separated by at least 1 second.

The problem occurred before I installed many of my custom programs so they should not be the issue.

I noticed the problem on the first day I used a spreadsheet with an ActiveX control. The problem has continued on subsequent days despite reboots and cold starts (over 2 weeks now).

I followed the directions above, I tried:

- deleting \AppData\Local\Temp\Excel8.0\MSForms.exd and then re-running Excel. 

- deleting MSForms.exd, rebooting, and then re-running Excel.

- deleting everything I could delete in …\AppData\Local\Temp\*.* including sub folders, rebooting, and then re-running Excel.

 

I have also tried these solutions but nothing works...

 

My activex button works the first click when i open excel, but stops working after that. Running the macro from inside VBA project works fine. The button seems to lose its connection with the macro. Driving me crazy, and I really don't want to replace with Form Control.

Why don't you want to use the forms button?

@Jan Karel Pieterse 

 

Let me preface my response with the fact that I am new to VBA and coding in general. My approach to learning new things is to learn as much as I possibly can and to use tools that allow the most flexibility. My understanding is it ActiveX controls are more dynamic than form controls and so that's what I started using. At this point I'm more interested in understanding what's going on rather than identifying a workaround. I certainly could use the form buttons if I just wanted it to work.

 

I've also tried deleting the .exd files from Temp, restarting PC, copying everything to a new file. Other Active X buttons (linked to a different module but in the same manner) work without issue. Just this one (and its multiple copies across sheets) doesn't work.

 

I created a new button in a blank sheet in the same workbook and it runs the macro every time. The buttons on the original sheets still fail.

 

If I change the button event to MouseDown (from Click) it works.

 

Even if I edit the button click event sub to only include a MsgBox (rather than Application.Run "module...) it doesn't even work.

Hi @Anammox

Well, it is oddities like this one that keep me from using ActiveX controls. Unless there is specific functionality only these controls have to offer (like events other than click) I keep away from them. And even then, the Forms controls too have their issues. I also do not like using controls to build data entry functionality. Data validation is more robust and also works on different platforms like Excel on-line.

I see, thanks for the guidance.

Could you give me an idea ofnhow data validation would work for data entry?

In my case I am using the button to work through a series of if statements that read values from several cells and produce a text string in another cell as a result. Not sure how to otherwise perform that task without an on demand button.
Related Conversations
A problem with the Zoom level of a Tab
Tavory in Discussions on
9 Replies
Macro issue with email connectivity
unhappyuser in Excel on
21 Replies
Excel Table Size in Macro
WayneEK in Excel on
6 Replies
Save as PDF button
Connor Smith in Excel on
1 Replies