textbox2.value

  1. D

    Userform Textbox with figures

    Hi all, I have a userform with some textboxs that are linked to some cells in a sheet of Excel. Here is the code of the userform Private Sub UserForm_Initialize() TextBox1.Value = "" TextBox2.Value = "" TextBox3.Value = "" TextBox4.Value = "" end sub And here is the code of the command...
  2. I

    Not sure which code to use

    Hi, I had this in use the other day, TextBox2.Value = Format(CDbl(Date), "dd/mm/yyyy") I was told that the CDbI was not needed so i put this in use. TextBox2.Value = Format(Date, "dd/mm/yyyy") Looking through some of my code i see this pop up in a few places so the thing is do i need to change...
  3. N

    Year get from textbox value in userform

    my userform contain 2 textbBox TextBox1.value = start date TextBox2.value = end date e.g TextBox1.value = 14/8/85 TextBox2.value = 28/10/91 in sheet1 from range "A1" to show start date year to end date year by vba and using for loop.in above example show result as below 1985 1986 1987 1988...
  4. S

    VBA Expected End of Statement error

    Hi, I am trying to create a userform that looks up an address on Google Maps, or directions between two addresses. I got the above error message when creating this code below: Private Sub CommandButton1_Click() Dim r As Integer, r2 As Integer, URL As String Application.ScreenUpdating = False...

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
Back
Top