userform2

  1. MFish

    Going from userform1 to userform2 and then back to userform1

    I have a combobox1 in UF1 that is coded as... sub combobox1_change() userform2.show end sub Once userform2 shows up, I need another combobox to select something. Code I have... Sub combobox1() Me.combobox1.List = Worksheets("Drop Down Data").Range("d3:d51").Value end sub Once...
  2. L

    2 forms

    Hi I have 2 forms. UserForm1 and UserForm2. Do I need to say UserForm2.Label1.Caption or just Label1.Caption I did "Label1.Caption" and everything work fine, it is not effecting the UserForm1 The code below is for UserForm2 Private Sub myadd_Click() UserForm2.Label1.Caption =...
  3. N

    Determining whether Userform2 is Loaded : Error Object Variable or With Block Variable not set

    Hello I've button which loads Userform2. In Second command button i want to know whether userform2 is loaded in Gen Module Public usrForm As Object Function IsUserFormLoaded(ByVal usfrName As String) As Boolean IsUserFormLoaded = False For Each usrForm In VBA.UserForms If...
  4. cliffmid

    Worksheet_SelectionChange(ByVal Target As Range) for Newbie

    I have never used "Target" before. I have a list of name (a18:a150) and want to click on one and have the name inserted into textBox1 in userForm2. I can get the range set correctly and "userform2.show" brings up userform2 (which has my textbox1). I cannot figure out how to get the name from...
  5. P

    Userform pops up unexpectedly

    I have userform1 to search for a value in a list. If userform1 doesn't find amatch it calls userform2 to ask the user what they would like to do, Add, SearchAgain or Cancel. If the user selects "Add" (or CommandButton1) onuserform2, then the tab changes and the search value that was obtained...
  6. G

    Open Two Different UserForms by Clicking Specific Cells

    Im trying to make a vba program that will open specific userform by clicking specific cells. I have two forms Userform1 and UserForm2 that I want to show on the same Worksheet when a user click specific cell. Example; when Range("A1") is doubleclicked show UserForm1, when Range("A5") is...
  7. P

    How to change Page on a MultiPage

    Hi All, In UserForm1 I would like a button leading to Userform2 into a specific Page (of MultiPage1) that is not necessarily the starting page (of Userform2). I tried: Private Sub CommandButton1_Click() Unload Me 'close Userform1 UserForm2.MultiPage1...
  8. R

    passing userform values

    Hello, I have two userforms and I have a commandbutton on useform1 that calls for userform2. On userform1 I have a text value in textbox1 that I want to pass on to textbox1 on userform2 when it launches. I thought the code below should be all I need, but when I launch userform 2 the textbox...

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