texbox

  1. D

    Use months in this code rather than dates

    Afternoon, Trying to use months rather than dates in this code. Any ideas on how to alter the code? Public Sub PromptUserForInputDates() Dim strStart As String, strEnd As String, strPromptMessage As String strStart = InputBox("Please enter the Current JobNos.First...
  2. S

    How to Pick random cells to Userform

    Hi all: I have workbook with sheet(data).range(A1:A1000) as text Now I want macro apper random cell in texbox when Userform.show Please help me to do that, many thanks./.
  3. M

    Expand cell height to match textbox

    How can I get the cells to expand with the size of a texbox. I am entering text and the Activex texbox is expanding with Multiple lines accordingly to the text, but after a period goes over other fields, How can I get the field cells to expand?
  4. R

    TextBox Addition

    Hey all, Using a button to open a Userform. I need the values in TextBox1 and TextBox2 to be 0. I have a TextBox3 and using TextBox3_Change if the letter "A" is typed into TextBox3 I need to keep a running total in TextBox1 (0+1+1+1+1...each time the letter A is typed) and if the letter "B" is...
  5. O

    Textbox Only Returns Zeroes

    Hello, I've been trying to build an userform in which I have several textboxs. In one TextBox I want to insert numbers and letters, in all others I just want numbers. All are returned in a table. I Thought it would be an easy task.... Though I only get zeroes in the table. I don't understand...
  6. T

    Userform TextBox input format problems

    Hi there! I've made an userform with a textbox. I want to force the user to type the value in a specific format, e.g. 5.2.0 The code I have now: If Not TextBox1.Value = Format(TextBox1, "0.0.0") Then GoTo FormatError (rest of the code) FormatError: intresp = MsgBox("Insert valid version...
  7. L

    Setfocus is not working after a looping through the textbox

    I have an "Input data" form and all I'd like to do was to add a code so when the user press the button Ok it'd check each texbox and if it's empty show a error message and setfocus back to the empty textbox.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>...

Watch MrExcel Video

This Week's Hot Topics

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top