Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 6 years ago.
Improve this question
I created a button and I assigned a macro to it. The button does not work, but if I run the macro manually by using the "run" option in the developer tab or if I press the "play" button in the VBA window, everything works perfectly. I do not think that adding the code will be useful.
Regards,
It's possible the macro got "un-assigned".
Right-click the button in design mode, and select "Assign Macro"
Re-assign the macro in the dialog, exit design mode and click the button - it should "just work".
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 3 years ago.
Improve this question
I am trying to write an If statement in VBA that is somewhat in this format:
If Button A is clicked
Then
Open a file
End If
I am stuck at the first part where I am not sure how to write the portion for the "If Button A is clicked". Would greatly appreciate any advice on this.
Code
The expected result would be that the file opens when the user presses button A and specifies the location of the file that is to be opened.
A button being clicked is an ephemeral event that happens, not state that you can test with an "if". Set an event handler to call the code when the button is clicked, and don't worry about an "if".
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
I am using VBA code to get data from user by using InputBox function. I want a user to write in Arabic.
But, when I run it, I found strange characters although I can write in Arabic normally in Excel sheets.
Can anyone help?
Make a custom form, that works as InputBox.
There you would be able to write in any other language than English.
Otherwise you would be getting the ?????????????????????
Simply add a label element for the input and button elements for Ok and Cancel.
In general, this is much better than InputBox, because you can control the TextAlign property, which is different in Arabic than in English.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
net Programmers
I am in a trouble
I want to display messagebox after a while of time
i did this but the problem is that the messagebox appears behind the other windows of the active programs
I want a code that displays the messagebox over all opened windows to make the user see it
and THANKS
You can't set TopMost on a message box. However, you could create your own class/dialog set TopMost to true on it and then use ShowDialog to display it.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I created a slide master textbox where:
* the first level of text is bold
* the second level has a bullet (w/ indentation)
* the third level has another bullet type (also w/ indentation)
However, I have no idea how to recover this formatting once I insert a slide from this layout.
Here is my slide master layout:
Once I write text, I have no idea how to obtain the same bulleting and spacing. Below is a description of my keystrokes and how things go wrong.
As described above, when I try to use the bullet point button, I don't obtain the same bullet points that I specified in my slide master.
Note: I am using Powerpoint 2013, but I have the same trouble when using other versions.
ANSWERING OWN QUESTION:
The fix was very basic. Instead of using the "Create bulleted list" button to move to the next indentation level, I needed to use the "Increase list level" button.
As for the undesired behavior from using tab, tab only changes the indentation level once you're in the environment of list levels (which you enter after clicking that button).
This is more a question for SuperUser but my guess is that you've modified the Slide Master, but not the specific Layout that your slide is based on (Title and Content most likely).
Try modifying the Layout.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
User clicks select colour in Form1, it opens Form2- they click red and click the button "Choose". Form2 closes, and the colour is set as a variable in Form1. How do I do this? Any code samples?
Yes, this is possible. You can do something called passing variables between forms.
You can do this by making a textbox/combobox a public property from the modifiers menu in design view
Look here for information on passing variables between forms.
Also P.S - Show some of your working first, before posting just for code!