I have inserted a combo box on PPT slide. When I double click the combo box, the VBA editing window will pop up. Is there a way that when I double click the box, VBA code does not pop up? I don't want users to see my actual codes and VBA window in general.
Thanks in advance!
I think you might have design mode on. Have a look under Developer > Controls > Design Mode. Turning it off should remove that behaviour.
Related
I can make it popup on opening the document, but what if I close the userform and want to it to show up again in the same document? I know in excel you can add a button onto a worksheet directly and make it show the userform on click, but this button is unavailable for microsoft Word. Is there a solution besides initiating the script by hand?
To display a VBA userform, you can trigger it from a macrobutton field, from a form field, from a shape, from a QAT button or from an ActiveX button. There are probably a couple of other methods I'm not remembering at the moment. Each is a little different in the exact steps, but all will run the command:
UserFormName.Show
I am trying to disable the cut function/button on the ribbon. I have a situation where there are a number of formulae that are reliant on data input cells. If those cells are cut and pasted elsewhere the formula follows the cell. I have disabled right click and keyboard shortcut but cannot disable the ribbon cut function. I downloaded a spreadsheet from another thread with a similar requirement which had no cut button on the Home ribbon but cannot see any code to show how it was achieved. Soooo! If anyone can help it would be awesome.
I have a few different userforms in Excel 2007 right now and was wondering if I could add a "?" button next to the close symbol in the userform.
Alternatively, is there a way to display some text when I hover over a specific label
The form property "WhatsThisButton" displays the question mark icon next to the close button, but this does nothing without creating an actual help file and assigning it to your form, this is not an easy thing to do. Far easier is to display text as you have described, each control has a "controlTipText" property that will display whatever text you enter in there, when your user hovers their mouse over the control
I have an excel toolbar created by VBA macros. When cell is in edit mode, I'm unable to perform any toolbar actions, the event itself is not getting triggered. Button events are getting triggered when we come out of that editing cell.
Is there any way to handle this? I want to allow users to click on buttons even when cell is in editing mode.
Thanks.
VBA will never run if a cell is in edit mode. If you are typing inside a cell, VBA is halted. Infact, if you press ALT + F11 and bring up the VBA editor window, and then go to edit a cell in Excel, you'll find you cant ALT + TAB back to the editor, it's gone. You cant even get back to the editor whilst you are in edit mode. (Obviously when you click outside Excel, the cell is no longer in edit mode, so you can select it from the windows tray)
You may have to use a form to allow users to edit cells, this way VBA will still run whilst the form text box is being typed in. Then submit it to the cell when the text box is complete
I need to know how to disable the keyboard during the presentation because I don't really want people to skip around the PowerPoint but rather interact with it. I just want to disable the buttons that let's people move around slides such as the arrow keys and the space bar.
Here's an option that would mostly disable the keyboard, and disable built-in mouse navigation.
These instructions are for Powerpoint 2007 or 2010:
Go to the Slide Show tab.
Select Set Up Slide Show.
Under Show Type, select Browsed at Kiosk (full screen).
Hit OK.
Note:
Once the slideshow is started the only key that will do anything is Esc, which will end the show.
A standard mouse click will no longer advance slides, you will need to use VBA, Hyperlinks, or timers to advance slides.
For more information, here are instructions on creating and distributing a self-running PowerPoint presentation.