How to Run UserForm without Showing Excel Window

  Рет қаралды 118,859

TheDataLabs

TheDataLabs

Күн бұрын

Пікірлер: 65
@limitone9564
@limitone9564 2 жыл бұрын
I don't think this tutorial is complete... so the user clicks the close button then excel shows up? Does not make sense, it should also close the excel. I was also going to ask... if I'm the coder how do I get back to the developer side if excel closes when we hit the close button.
@thedatalabs
@thedatalabs 2 жыл бұрын
Thanks for your feedback! With the help of current code, you can come to Excel application and do other works if required. This suits both User and Developer if other works required in same workbook. If you want to close the Excel Application along with Userform then remove the two lines existing VBA code and add four lines of new code in UserForm QueryClose sub procedure. So the new code would be: Private Sub UserForm_QueryClose(Cancel As Integer, CloseMode As Integer) Application.DisplayAlert=False Unload Me Thisworkbook.close Save changes:=True Application.DisplayAlert=True End Sub Let me know if you have any questions. Thanks!
@juantoknow
@juantoknow 2 жыл бұрын
I have done this last year.. Here is the blue print. Upon opening the file. If there are other file were opened. The system promt the user if he continue to use the file(1. all excel file will be hidden) else user must close other files before opening. On the vba form, I put a command(label) for the developer use. And I put a code on the form/command if the form close ❎ then (2. All other excel file will be shown. Hope it helps guys.
@AttackOnTyler
@AttackOnTyler Жыл бұрын
​@TheDataLabs this creates a memory leak where the only way to close to application is to end Excel in task manager. Also because the code is being ran from thisworkbook, display alerts = true never fires due to the workbook closing before the code can be called. Also Also, if the user doesn't close the app instance using task manager, when they open a workbook, it will bind to the existing instance in memory which has had its visibility set to false. Emails and zoom calls abound
@hinafathima284
@hinafathima284 Жыл бұрын
@@thedatalabs hi sir i have some error while closing the userform along with excel application
@dragosmilea9691
@dragosmilea9691 10 ай бұрын
​@thedatalabs thanks for this answer. I was looking for the same solution. On the same note, if the developer will ever want to open the application to do some work in the excel spreadsheet, can you please advise how this will be possible? Thanks in advance!
@culea0alex
@culea0alex 2 жыл бұрын
Holly cow, this works and it's so cool. TY very much.
@Puribalasaheb
@Puribalasaheb 2 жыл бұрын
बहोत बढिया
@ahmedabbas7844
@ahmedabbas7844 2 жыл бұрын
Thanks for your help 😃☺️
@querrythis
@querrythis 2 жыл бұрын
Fit me needs perfectly. Thanks
@khaledmezghani3701
@khaledmezghani3701 2 жыл бұрын
Thanks for this tutorial :) can we apply this trick on only one specific workbook. i.e. when I try to do what you did in this video, all other open Excel workbooks become invisible. I want a specific workbook to become invisible and the others visible as usual Thanks in advance
@alioujalan3378
@alioujalan3378 2 жыл бұрын
awesome trick
@ynt9011
@ynt9011 2 жыл бұрын
I love your video
@3pehrs
@3pehrs 2 жыл бұрын
it is totally helpful and inspiring 😊 thanks 👍
@ramgella1205
@ramgella1205 2 жыл бұрын
Thanks Sir this help me a lot
@ramgella1205
@ramgella1205 2 жыл бұрын
Sir are you going to download how you create this userform?
@AjaySharma-em2ez
@AjaySharma-em2ez 2 жыл бұрын
Thank you sir, for sharing this great work sir. thank you sir.
@thedatalabs
@thedatalabs 2 жыл бұрын
Thanks!
@Maclan_0709
@Maclan_0709 2 жыл бұрын
Thanks for this greate vba turorial. Do you have a tutorial how to create this form?
@thedatalabs
@thedatalabs 2 жыл бұрын
This form is from Inventory Management System! We are working on that and we will post an end to end tutorial on that. Please keep watching. Thanks!
@Maclan_0709
@Maclan_0709 2 жыл бұрын
@@thedatalabs It's noted, thanks a lot❤
@saji4385
@saji4385 2 жыл бұрын
@@thedatalabs sir, is this video tutorial already posted. I am waiting to for it
@ZiadAdly
@ZiadAdly 2 жыл бұрын
many thanks
@thedatalabs
@thedatalabs Жыл бұрын
Thanks for watching and feedback!
@imrandaud478
@imrandaud478 Жыл бұрын
Wonderful ❤
@thedatalabs
@thedatalabs Жыл бұрын
Thanks for your feedback!
@mra893
@mra893 Жыл бұрын
Nice
@rathaprrathapr5131
@rathaprrathapr5131 2 жыл бұрын
very good
@fabioluiz8677
@fabioluiz8677 Жыл бұрын
Deixando um like e um abraço
@sachkum
@sachkum 2 жыл бұрын
These tutorials are very useful. I would like to know how can we create a similar data entry form where multiple users can enter data on a shared drive location simultaneously. Every user should be able to see only his data (that he has entered) on the forms list box & not other users data. Also, if the user wishes to download his data, he gets a link label option to download the data to a new excel file. Please can you create a video for performing this activity.
@NamHaVblog
@NamHaVblog Жыл бұрын
thanks
@affiliateme7414
@affiliateme7414 2 жыл бұрын
is the floating window type of thing possible with google sheets?
@daroodurmul5789
@daroodurmul5789 2 жыл бұрын
excellent job....but how we start user form ...I made a form everything is ok..but when when i clici the excel icont it start with sperad sheet..I want to start the interface of userform at ffirst click..please extend your kind knowledge thanks'
@Pankajkumar-yv5dr
@Pankajkumar-yv5dr 2 жыл бұрын
Is it passible with Google sheets too
@abdulnasirafridi
@abdulnasirafridi 2 жыл бұрын
Development video of this inventory nanagement system share please
@satishdeshpande1336
@satishdeshpande1336 2 жыл бұрын
Dear sir.. When the application is hide behind userform.. is it possible to trigger to print specific sheet from button created on userform.. I mean to make PDF for specific sheet....? Waiting you genuine reply...👍
@thedatalabs
@thedatalabs 2 жыл бұрын
Yes, you can perform all the task as Excel is running in background. Thanks!
@fayzalikhurshed3398
@fayzalikhurshed3398 2 жыл бұрын
Hi, I have some questions how I can contact with you?
@fooodef
@fooodef Жыл бұрын
dear i disable the visiable on close as well , it works but when i open the file again the ecvel sheet show so i need to close and open again to show the form what is the solution
@samuelasare9387
@samuelasare9387 9 ай бұрын
Thank you for your video tutorials. My problem is that your videos are not clear at all. Please can you research and get to know how you can adjust your camera to ensure clarity of video?
@jungali_boi
@jungali_boi Жыл бұрын
can i ask you a question ❓ i learned to run a program without showing excel. i want to learn a program that closes without showing excel again.
@edtardaguila3599
@edtardaguila3599 2 жыл бұрын
the problem with this code is that if you have multiple excel files opened all of them will be hidden. is there a way that the file which the userform resides will be hidden once you run the code?
@syedshahzaibali4729
@syedshahzaibali4729 2 жыл бұрын
Hello there, I tried this code and its working fine but there is small problem, when I click on the excel file it shows the excel sheet before running the user form.
@tusharmali4797
@tusharmali4797 2 жыл бұрын
but another excel file invisible when i open this files i hope you understood my qery
@gineespina250
@gineespina250 3 күн бұрын
can't download this file. download is broken. can u send another file thx
@mohamadalqalmawy9054
@mohamadalqalmawy9054 Жыл бұрын
I need the excel file please
@likithsreedhar3996
@likithsreedhar3996 Жыл бұрын
@joshitoshi9835
@joshitoshi9835 Жыл бұрын
bro will u send excel to exe compiler software at my email?
@sabbirhowlader4325
@sabbirhowlader4325 Жыл бұрын
I am interest
@bhavneshparikh8283
@bhavneshparikh8283 2 жыл бұрын
Add in purchase return Sales return
@sallytong241
@sallytong241 2 жыл бұрын
I tried both solutions but in vain. The application has opened first and close right after, then login form show up.
@nassimgaming4948
@nassimgaming4948 Жыл бұрын
Bro it doesn't need full 12 minute to explain. . Anyway good luck
@karzanq424
@karzanq424 Жыл бұрын
Is there any other way bro? Guide me.
@riteshrsimc
@riteshrsimc 2 жыл бұрын
Customisation is not allowed as it is password protected
@thedatalabs
@thedatalabs 2 жыл бұрын
thedatalabs
@MrJamal3771
@MrJamal3771 Ай бұрын
Be extra careful when using application.visible = false code coz you may experience runtime automation error that would corrupt the table data and the workbook itself.
@mosamra3776
@mosamra3776 10 ай бұрын
yeah but this hides any other excel files that are open.. so it's really useless.. or if the user have excel files open, it will hide everything
@manishsoni125
@manishsoni125 9 ай бұрын
Not working
@rumeshanjana8167
@rumeshanjana8167 Жыл бұрын
This is not working
@mstechnical1937
@mstechnical1937 6 ай бұрын
1st 5 mint are wasting Time
@michaelgalang9550
@michaelgalang9550 2 жыл бұрын
2 much cringe in tNice tutorials section xD
@EvilEyeTheEye
@EvilEyeTheEye 2 жыл бұрын
How do I know my VBA Project Password, I didn't set up any password while I create my Macro VBA but it keeps asking me to enter the VBA Project password. How do I know that password...???
@culea0alex
@culea0alex 2 жыл бұрын
Now I just saw your pined comment. Well, you can acces your code by pressing Ctrl+break. And if you want to make so that EXEL won't ask you to save the file, here is the code: Private Sub Workbook_BeforeClose(Cancel As Boolean) Application.ThisWorkbook.Saved = True 'Tells Excel that the file has already been saved (this prevents.. '...Excel from requesting that you save the file when you close it) End Sub
How to run UserForm in Full Screen Mode in Excel and VBA
11:00
TheDataLabs
Рет қаралды 39 М.
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 37 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 21 МЛН
How to create User Login Form in VBA and Excel (Step by Step Guide)
23:02
VBA User Form: Add, Update, Delete and Save
22:47
hay kel
Рет қаралды 65 М.
SUPER EASY Excel Data Entry Form (NO VBA)
6:22
Leila Gharani
Рет қаралды 2,1 МЛН
VBA: Run UserForm without Showing Excel Application
2:54
hay kel
Рет қаралды 5 М.
Excel VBA Userform to Search and Update Data -  Excel VBA Userform Example
23:48
EASILY Make an Automated Data Entry Form in Excel
14:52
Kenji Explains
Рет қаралды 927 М.
Fully Automated Data Entry User Form in Excel - Step By Step Tutorial
35:41
Unlock Excel Secrets: Magic Search Bar You NEVER Knew About!
17:59
PK: An Excel Expert
Рет қаралды 542 М.
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 37 МЛН