Excel VBA USERFORMS #1 Make Userform, Add a Button, Button Click Hides Form

Excel VBA USERFORMS #1 Make Userform, Add a Button, Button Click Hides Form


Create a simple Userform, Add a Button which hides the form. Simple. Come learn how you can do this EASILY!

**Limited Offer** Learn to Make Excel Do Your Work For You with The Ultimate Excel Programmer Course – Get the Full 9+ Hour Premium Course for 75% off using coupon code: https://www.udemy.com/ultimate-excel-... Click Now to Order and get Lifetime Access to Course, Workbooks, Updates and Support!
------------------------
Create Your Own Barcode Lookup System Using Excel VBA. Learn to Make Your Own Barcode Labels the Easy way and have fun with Barcode Scanners to Automate your Workflow! In this project-driven Course, you’ll learn to Build your own Custom Inventory System with Step-By-Step video instructions. This goes in depth into some advanced Userform strategies that you can use for your other projects to come. A great weekend study! YouTube Subscibers only pay one forth! Get your 75% off Coupon here: https://www.udemy.com/barcodes-excelv...
------------------------
Too busy to Learn Piano? Use my Secrets and Play Your Favorite Songs Today! Did you know; You can learn 4 basic chords in about 5 minutes and instantly be able to play millions of songs. Seriously, check this course out. 75% off for my YouTube Friends! Click here: https://www.udemy.com/play-piano-by-e...

For Articles, Updates and to Contact me for Consulting or just to drop me a line, please visit http://www.ExcelVbaIsFun.com

Here is my link to download my FREE workbooks, past present and future: https://www.dropbox.com/sh/nwc5trm2xw...

------------------------
Playlists:
Excel Vba Basics http://www.youtube.com/watch?v=AIhKNN...
Tips N Tricks https://www.youtube.com/playlist?list...
Userforms https://www.youtube.com/playlist?list...
Sample Excel Programs https://www.youtube.com/playlist?list...
Events Series https://www.youtube.com/playlist?list...
Activex Controls https://www.youtube.com/playlist?list...
------------------------

Grab an Excel Nerd T-Shirt or Hoodie:
http://ExcelVbaIsFun.spreadshirt.com/

------------------------
Interact and Follow me on:
LinkedIn: http://www.linkedin.com/in/danielcstrong
Facebook: https://www.facebook.com/Excelvbaisfun/
Twitter: https://twitter.com/ExcelVbaIsFun
Google Plus+: http://www.google.com/+ExcelVbaIsFun


'Royalty Free Music by http://audiomicro.com/royalty-free-mu...
Closed Caption:

hey there YouTube is day no strong with
excel vba is fun this lesson we're
finally getting around to doing some
custom user forms this is going to be
exciting but it's going to be quite an
undertaking I mean there's there's just
a billion and one different things you
can do with the userform so I'm going to
need some input
go ahead and write your comments down
below this video and just tell me what
you're wanting to accomplish and that'll
help me out a lot in kind of fixing up
some scenarios as to what would be
useful to you guys in your actual
day-to-day lives or at your work
whatever give me some examples of what
you do with them because I know what I
do at my job with them and doing reports
running exports and imports and all
kinds of crazy fun things like that
opening files setting file locations but
you know I want to know what up what you
guys are thinking so anyway let's get to
our objectives number one we're going to
make a userform real easy number to
we're going to make a button on our user
forum which is super easy
we're going to hide the userform on the
button is pressed also extremely easy
we're going to started all 11 to get our
visual basics menu up our editor up here
where they have userform one here and we
have seen one of our earlier videos
we're gonna make a new one click here
and click on user for and so there's our
new one it's automatically called
userform to but i believe we hit for
that will bring up our properties menu
and we'll give it a custom name here
let's call it hide form and call it
anything you want I'll call it tied for
because our objective right now it's
just hide it so objective one that was
super easy right what about this little
things as user forum to let's get rid of
that right off the bat that's our
caption let's just say click the button
to hide ! and us as a type even just say
that up here also you may have noted
when i click anywhere on the userform
and brought up the toolbox if you don't
see it go to view click on toolbox and
there's your toolbox it's pretty and
it's got all the things that we've seen
an activex controls and a little bit
more so let's go ahead and add a button
that's right here command button and I
could single click and it would
automatically give me this custom size
or I could have dragged it let's go
ahead and click here you can see that i
can click and start typing the caption
of the button and it will follow as i
start typing click to hide and then you
see the captions following along the
button make the button a little bigger
since our user forum is all about this
button and act let's make the back color
make the back color red
click guide make the font a little
bigger and bolder clicking here on the
font bold let's make its 14 click hide
am right now our last objective as you
can see here is to hide the userform of
the buttons pressed well we haven't
activated the userform we can do that we
can run a quick test on this user form
by clicking the Run sub userform hitting
f5 there's your user form right here
floating around on the page and you
could be us you can't click anywhere on
the worksheet you can't hear what I'm
hearing but it's going to do
ringing ding all right can't click
anywhere there's a way to fix that but
they only think if i click this button
it doesn't do anything if i click this
it will close the userform I won't keep
my place if I had if I had a place this
is such a simple user forum but I click
out of here let's double-click on our
button here that will click whoops
whoops double click ok so there's a
commandbutton 1-click actually I take
that back
let's go to hide form let's give this
button the name will call it BTW in BTN
hide
ok i like to label everything because
later when i'm looking at code now
referring to these things i wanted to be
super easy for me to remember
double-click on that now you see the
button hide understood or click is the
event that we're doing now so it reveals
the actual control the button number
using when we click it what do we want
to do we want to take Hyde form that's
the name of our user forum hide format .
hide
ok that's the command yeah whatever your
user forms name is . hide and that will
hide it will keep whatever its current
status is if you had something selected
from a selection menu or whatever it
would keep that rather than clicking the
X or on the loading the userform we're
just going to hide it
ok so let's go ahead and hit the f5
button to run our user forum and if we
click this button it will run that code
and it's hidden it all right it's pretty
much it's real simple
thanks for watching

Video Length: 05:25
Uploaded By: ExcelVbaIsFun
View Count: 42,788

Related Software Products
AddaButton
AddaButton

Published By:
Harmony Hollow Software

Description:
Add custom buttons directly to Internet Explorers own toolbar which can be used to launch any program or document on your computer. Easy-to-use interface lets you to define sevral different properties for each button you add including the button icon, text, and more. Buttons can be optionally added to I.E.s toolbar for only the current Windows user profile or for all users if your system is configured for more than one Windows user profile. Buttons can also be deleted or their properties edited ...


Related Videos
How to add a Button to each row in a DataGridView
How to add a Button to each row in a DataGridView

Check the website: http://mkasoft.com/index.php/db-tutor... to see all database video tutorials. A simple how to showing adding a buttons to rows in DataGridView bound to a table. hr / bClosed Caption:/b ok hello everyone welcome to this quick out to about displaying buttons and associated them with each roll from the database table ok first you will need to define the data source ok so here i am going to connect to mybr ...
Video Length: 05:54
Uploaded By: mkaatr
View Count: 196,537

How to Add a Button Placket to a Garment
How to Add a Button Placket to a Garment

You can create your own simple pattern for a button placket and learn how to sew it to a top or bodice. SUPPLIES USED Spiegel 60609 Sewing Machine: http://www.spiegel.com/Sewing/b/12554... WEBSITE https://www.professorpincushion.com BLOG https://www.professorpincushion.com/p... APP https://www.professorpincushion.com/app FACEBOOK https://www.facebook.com/ProfessorPin... TWITTER ...
Video Length: 11:37
Uploaded By: Professor Pincushion
View Count: 67,098

Wordpress - Add A Button
Wordpress - Add A Button

Add a butotn to a wordpress website. hr / bClosed Caption:/b okay i want to go ahead and add a button to one of my pages i'm going to click on my specials page we've been working with and I want to add a button right down here at the bottom of this content paragraph so let's jump in to the back and go to pages find our specials page click Edit and again this is what I'm going to show you is themed specific this ...
Video Length: 04:49
Uploaded By: 239creative
View Count: 33,208

Write a Macro and Add a Button (for Excel 2010 Windows)
Write a Macro and Add a Button (for Excel 2010 Windows)

Write a small macro in VBA and activate it using a button or a piece of clipart hr / bClosed Caption:/b let's look at creating this from a macro by writing some code am also start looking at the idea controls sell for simple om going to go to the developer tear and go over to Visual Basic let's open up the country this workbook by cable clicking and here's our code lingo all right now I'm going to type action ...
Video Length: 05:02
Uploaded By: Cynthia Brown
View Count: 14,934

HTML - How to add a button in HTML
HTML - How to add a button in HTML

© 2011 howtocreateawebsite1. All rights reserved In this video, i am gonna show you how to create a button in HTML. Thumbs up if this helped you!
Video Length: 03:06
Uploaded By: howtocreateawebsite1
View Count: 14,659

How add a button translate name in Facebook page
How add a button translate name in Facebook page

how add a button translate name in Facebook page website : https://www.proxynova.com/
Video Length: 02:26
Uploaded By: dzhwar mohammed
View Count: 8,229

Add a button to Outlook's ribbon
Add a button to Outlook's ribbon

How to add a button for a macro to Outlook's ribbon or QAT. See http://slipstick.com/outlook/hyperlin... for the macro used in the video. hr / bClosed Caption:/b after you add the macro to Outlook you can create a toolbar button for it in outlook is go to File options choose Customize ribbon from the choose commands from dropdown choose macros before you can add it to a table you need to have a custom group on the ...
Video Length: 01:00
Uploaded By: slipstickcom
View Count: 5,332

Add a button to toggle full screen in flash
Add a button to toggle full screen in flash

Below is the example to add a button in Flash CS6 using ActionScript 3.0. 1) Open Adobe Flash CS6 File-New-ActionScript 3.0 2) File- import to stage with background image in layer 1. 3) add button .under user interface in component too, change the button label to "toggle full screen", and name the instance as "btn_fullscreen" 5) Press F9 to input the following actionscritpt 6) Export or test flash, done. flash output, remember to put ...
Video Length: 03:37
Uploaded By: Jiansen Lu
View Count: 4,243

Eclipse Scout Tutorial - Add a button in a form (Part 4 | Kepler 2013)
Eclipse Scout Tutorial - Add a button in a form (Part 4 | Kepler 2013)

Add a button to open the password Form Continue with part 5: http://www.youtube.com/watch?v=sbhweu... Links: * Scout Home: http://eclipse.org/scout/ * Scout Wiki: http://wiki.eclipse.org/Scout * Scout Blog: http://www.bsiag.com/scout/ * Scout G+: https://plus.google.com/1035931072410... * Scout Forum: http://www.eclipse.org/forums/eclipse... * Scout Twitter: https://twitter.com/EclipseScout Video contributed by Patrik Suzzi Tutorial ...
Video Length: 02:39
Uploaded By: Eclipse Scout
View Count: 3,976

Copyright © 2025, Ivertech. All rights reserved.