unload me

  1. C

    Unload me closing all userforms

    So i have a second userform that launches from the first, and in the second i use a bit of code as seen here Private Sub CommandButton66_Click() Dim VBProj As VBIDE.VBProject Dim VBComp As VBIDE.VBComponent Dim CodeMod As VBIDE.CodeModule Dim StartLine As Long...
  2. W

    Form doesn't activate workbook after Unload Me

    Hello experts, not sure why this doesn't work but I want to activate a Worbook that I opened via form after the form closes but it doesn't do anything. My Code Private Sub OpenButton_Click() Dim CName As String If Country.Value = "Abu Dhabi" Then CName = "C:\IC\Intercompany Recs Middle...
  3. H

    Unload Me interferes with vba

    I have the following macro which works perfect except... after selecting an item and loading it into the next available cell I need the userform to vanish, so I put the Unload Me at the end, without Unload Me the combobox puts the data in the nest available cell and stays on the screen , select...
  4. H

    Help with VBA form

    Hello I have a 4 page form. After the user hits submit, the user would then hit next for the next form and so on. I am trying to write code to where, when the user clicks on next the next form appears and the previous form closes. This is what I have so far ... but doesn't seem to be...

Some videos you may like

This Week's Hot Topics