Тёмный

Automatically Hide Workbook in Background and View only User Form 

Dinesh Kumar Takyar
Подписаться 115 тыс.
Просмотров 146 тыс.
50% 1

Is there a way to hide the workbook in the background so people only see the user form? This question has been raised by many viewers in different formats. The Excel VBA training video shows how to solve this problem quickly and easily and also describes other interesting aspects of transferring data from a user-form to an Excel worksheet.
View details on our website:
www.exceltrainingvideos.com/au...

Опубликовано:

 

17 окт 2014

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 140   
@yani2982
@yani2982 5 лет назад
the video is great, simple and clear. i can't wait to try it.
@Exceltrainingvideos
@Exceltrainingvideos 4 года назад
Please share with your friends and on social media. You can view more videos in Hindi and English at www.exceltrainingvideos.com/
@thaof1898
@thaof1898 3 года назад
this video is what I've been looking for for so long
@Exceltrainingvideos
@Exceltrainingvideos 3 года назад
Great you found this Excel VBA tutorial helpful! Please share with your friends too.
@bharathbharath2362
@bharathbharath2362 Год назад
Sir! It will get hide when we open this workbook and in middle if we open another excel by keping this user from in open, automatically user form backend excel also will visible. Please check and confirm if I m wrong
@SuperHanme
@SuperHanme 4 года назад
This was another great tutorial. You're the best
@Exceltrainingvideos
@Exceltrainingvideos 4 года назад
Glad you think so! Please share the Excel VBA tutorial with your friends also on social media.
@SolomonKinyanjui_sk
@SolomonKinyanjui_sk 7 лет назад
Thnk you for your teaching. I like it
@diligentjohn
@diligentjohn 9 лет назад
You are simply Great ... Thanks a lot .. Would have been more helpful if you could show " How to save that data in a different excel workbook.
@freeliberalminds
@freeliberalminds 5 месяцев назад
Thank you for this video lesson sir Dinesh. It helps a lot.
@Lucream2
@Lucream2 9 лет назад
Thank you that was so helpful
@goldhash194
@goldhash194 9 лет назад
Wonderful Mr. Takyar
@codalisa007
@codalisa007 4 года назад
This was very useful. Thanks!!
@Exceltrainingvideos
@Exceltrainingvideos 4 года назад
You are welcome. Sharing is caring!
@querrythis
@querrythis 2 года назад
Nice simple explanation. Thank you.
@Exceltrainingvideos
@Exceltrainingvideos 2 года назад
Glad it was helpful!
@frenamakenson9844
@frenamakenson9844 4 года назад
awsome tuto man... good simplicity
@Exceltrainingvideos
@Exceltrainingvideos 4 года назад
Glad you liked it! Please share the Excel VBA tutorial with your friends also on social media.
@emmyonu712
@emmyonu712 6 лет назад
Wow! Excellent..... With this simple tutorial I was able to create a Customer/Product and inventory data recording. But I still need help please. Thanks
@kunjalkhamkar
@kunjalkhamkar 2 года назад
So simple and well explained... kudos ir...
@Exceltrainingvideos
@Exceltrainingvideos 2 года назад
Glad you liked it
@rouser_bro9859
@rouser_bro9859 6 лет назад
Thank you
@ayoublahjou5917
@ayoublahjou5917 8 лет назад
Hello sir thank you for updating this video, it's very helpful, i wonder if there is a way to close only one workbook instead of closing all the workbooks ( application.visibile = false close all the excel files )
@vikasbhura99
@vikasbhura99 6 лет назад
Appreciate your explanation. Can you also guide if there is any way to hide only the workbook which has this macros and not others.
@SaifAHadi
@SaifAHadi 2 года назад
Thank you Sir.
@Exceltrainingvideos
@Exceltrainingvideos 2 года назад
Welcome!
@andrewmatthews1369
@andrewmatthews1369 5 лет назад
Dinesh, Helped me heaps recently with your video on ranking with a dummy rank solved a massive headache for me. I have a user form that is not a data entry point to input imformation into a sheet. I have a user form that has 12 Buttons on in. When you press the button it selects the Workbook associated with that button. I am watching this video so that the first workbook is hidden but from the user form i can access any of the other workbooks from the user form.
@ascreation728
@ascreation728 4 года назад
Thank u sir for sch a great video
@Exceltrainingvideos
@Exceltrainingvideos 4 года назад
So nice of you! Please share the VBA tutorial with your friends also on social media.
@abufun1718
@abufun1718 4 года назад
Very good 👍. Keep it up
@Exceltrainingvideos
@Exceltrainingvideos 4 года назад
Thanks a lot 😊. Please share the tutorials with your buddies.
@codalisa007
@codalisa007 4 года назад
Excellent
@Exceltrainingvideos
@Exceltrainingvideos 4 года назад
Thanks! Please share with your friends and on social media. You can view more videos in Hindi and English at www.exceltrainingvideos.com/
@newmhelemish
@newmhelemish 8 лет назад
Sir, another addition if you allow me. In bank recon also, assume that if there is outstanding items from the previous one.. In this case what shall I do?
@yuri040776
@yuri040776 9 лет назад
Hello, Do we have ability to use excel to start or stop windows server services?
@djebbiabdellatif4157
@djebbiabdellatif4157 8 лет назад
thank you very very very much because this program "work"
@Exceltrainingvideos
@Exceltrainingvideos 8 лет назад
+Djebbi Abdellatif 100% of my code works if you check your code against my code carefully. Thank you!
@newmhelemish
@newmhelemish 8 лет назад
Dear sir, I would like to thank you a lot but what I asked for bank recon did not meet my requirement because suppose that two statements in different workbook and the narration of the bank will not be the same of company and we have debit and credit in two columns. so what debit here will be credit there. shall I combine in one workbook?
@sasifexcelsolutions4509
@sasifexcelsolutions4509 Год назад
Hi, is it possible to close the excel application when pressing the close button, but on the excel that the userform is in not all the other excel files that you have open on your pc. Thanks
@atitasho
@atitasho 9 лет назад
I have the same problem as Frank Pizzardi. Somehow I managed to do some more work in my hidden Workbook, and now I can not reopen other sheets, only UserForm:))
@muhannad_youssef
@muhannad_youssef 6 лет назад
sir when i open another workbook there are many confusion and error how i can hid only one workbook or make excel unable to open another workbook
@nageswarareddyummadi155
@nageswarareddyummadi155 2 года назад
Nice
@Exceltrainingvideos
@Exceltrainingvideos 2 года назад
Please share the Excel VBA tutorial with your friends too. Thanks.
@nihashaikh7915
@nihashaikh7915 11 месяцев назад
Hello Dinesh Sir. How to show this userform when excel opens? How to assign macro to show userform. Please guide.
@dynamic_duo157
@dynamic_duo157 2 года назад
Sir Make a video to hide the complete data After entering data in userform
@jademicron6104
@jademicron6104 7 лет назад
Hi, I have done exactly as what you have said but what I still dnt get is why the workbook is not automatically save that is after i input and close and exit the workbook and later open the same workbook the previous input was gone after i input another data.Thanks for your help
@reeteshism
@reeteshism 4 года назад
Hi there.. I've used the VBA coding which you mentioned. However, now I'm not able open the workbook and worksheets. It only opens the userform, even if i close the Excel completely and try to open, it displays only the userform. Could you help and let me know that how can i retrieve the workbook and worksheet. As I'm not able to view VBA codes as well after pressing alt+11.
@Exceltrainingvideos
@Exceltrainingvideos 4 года назад
When you work with VBA code please make a copy of your original work.
@madhusudhan5384
@madhusudhan5384 7 лет назад
Hello sir, can you please advise me the code that close the work book entirely and open whit a short cuts. Regards
@Exceltrainingvideos
@Exceltrainingvideos 7 лет назад
Search www.exceltrainingvideos.com
@abidali-ft7ze
@abidali-ft7ze 6 лет назад
is there any way to write urdu language in excel vb?
@Aenemus
@Aenemus Год назад
The problem is that it hides all the open excel files you have. is there something to resolve this?
@chrisconstantatos1054
@chrisconstantatos1054 8 лет назад
If you don't make the application visible again, and then you save and close your macro, it seems like you'll never be able to open your macro and edit the code again. I mean, you'll just see the userform and the workbook itself will never be made visible. So there would be no way to access your code. Is that right? Or is there a way to access your code?
@joelabaring3995
@joelabaring3995 5 лет назад
Hi sir, Open your excel file and while your userform is up click on another non macro excel. Close your form and open another excel again. You will have your marcro excel up.
@MegaPragha
@MegaPragha 6 лет назад
Hello Sir how to use old sheets
@dobranagp7119
@dobranagp7119 4 года назад
sir, share some more example about listbox (like selected cell data in one listbox)
@Exceltrainingvideos
@Exceltrainingvideos 4 года назад
OK. You may also like to refer to www.exceltrainingvideos.com/
@brianrumaguera7133
@brianrumaguera7133 8 лет назад
Sir, I have forgot to put codes on my close button. Now when I open excel it only shows my Form. How can I get in again into my excel sheet : )
@TheAnthroheart
@TheAnthroheart 7 лет назад
press alt F11 and change your code
@DibyenduR
@DibyenduR 5 лет назад
I follow your excel vba tutorial,but I have a problem, I create a user with lebel testbox and combobox. I want if I select option from combox then I put data in differen sheet, I.e year 2017, 2018 after select from combox,then put the data sheet1 for 2017 and sheet2 for 2018
@Exceltrainingvideos
@Exceltrainingvideos 5 лет назад
This link will help: www.exceltrainingvideos.com/transfer-data-from-user-form-to-multiple-worksheets-in-excel-workbook-using-vba/ You can also download a sample file for practice.
@bijupc8433
@bijupc8433 8 лет назад
The network is a branched one having so many sub branches..Please help sir
@matetheking
@matetheking 7 лет назад
Is there any way to keep excel showing in the taskbar while the application is not visible?
@rsun19
@rsun19 7 лет назад
sir , how to do if i want to open userform first then after running all the macro i want to see the result in excel file then if i need change give inputs again in userform and get another result and so on...
@Exceltrainingvideos
@Exceltrainingvideos 7 лет назад
Search the channel or search www.exceltrainingvideos.com
@amitsatnalika5760
@amitsatnalika5760 2 года назад
can we use userform from another workbook , let say we are not pasting that userform in personal macro
@Exceltrainingvideos
@Exceltrainingvideos 2 года назад
Yes.
@amitsatnalika5760
@amitsatnalika5760 2 года назад
@@Exceltrainingvideos which vedio we can refer , i made a userfrom to select sheet in a workbook , should i paste this in personal workbook to use it everyworkbook
@Melissa-em9bi
@Melissa-em9bi 5 лет назад
If I put in the VBA code to hide the background worksheet but missed the VBA code to make the worksheets visable again on the close tab is there anyway to fix this without having to start over?
@joelabaring3995
@joelabaring3995 5 лет назад
i dont thinks hes answering back lol have the same problem as urs. LOL
@joelabaring3995
@joelabaring3995 5 лет назад
Hi sir, Open your excel file and while your userform is up click on another non macro excel. Close your form and open another excel again. You will have your marcro excel up.
@kaneater1
@kaneater1 4 года назад
@@joelabaring3995 thanks bro
@kailashsoni676
@kailashsoni676 Год назад
If i close userform then will it close excel too
@accnotech3863
@accnotech3863 6 лет назад
Sir, What if I want to hide just the excel file while using the userform and not the entire excel application, as, if I use multiple excel files at same time, with this one, undoubtedly userform appears, and it hides complete excel application and because of which Other excel files get hidden and i cant work over those.. Plz guide me if there's a proper solution for this
@chenchowangdi1823
@chenchowangdi1823 4 года назад
Sir, Reffering your old videos on youtube i have managed to make userform to add data and its working perfectly. I have entered the VBA code to hide the worksheet and show only userform and that worked too. My problem is how can i open the workbook to view the data i entered from the userform. Now everytime i try to open the worksheet it only opens the userform and not the worksheet.. Please help me
@Exceltrainingvideos
@Exceltrainingvideos 4 года назад
Create a button on the user-form and on click it should display the application (Excel Workbook) like so: Application.Visible = True
@chenchowangdi1823
@chenchowangdi1823 4 года назад
@@Exceltrainingvideos Thank you sir. Your videos are really helpful
@BijayMahatoJamshedpur
@BijayMahatoJamshedpur 4 года назад
Hello sir, i have a command button in a userform which opens a workbook. User would like to work on the opened workbook but is not able to, as the useform is always on the top ( even after show modal = false ). The useform is bigger in size and covers a lot of space. So we want it to be active but not on top. The workbook should open in foreground and user would like to work on the opened workbook. Not the mention, the userform is still active on the previous excel in background. I want to implement this. The problem i am facing is, the useform is always on top. I have set the show-modal to false. How can i implement this to open a workbook in foreground. And the useform still be active, but go in. Background. Useform.Hide is not much usable because the user needs to switch continously between userform and opened excel to fill details. Kindly help
@Exceltrainingvideos
@Exceltrainingvideos 4 года назад
On the worksheet place a form button and attach it to UserForm1.Show On your UserForm1 place a button to hide the user-form like so: Me.Hide
@BijayMahatoJamshedpur
@BijayMahatoJamshedpur 4 года назад
@@Exceltrainingvideos thank you sir for your valuable feedback. By using Useform.hide, the user is not able to work on both userform and excel at same time. The user needs to fill the input in the userform from the excel that he has opened. Kind of switch between userform and opned excel to fill details. I am unable to achieve that because with useform.hide, the userform is hidden and there is no way to switch between two excels. Kindly help me sir.
@jogurdd
@jogurdd 6 месяцев назад
How to get workbook back while completing vba code
@ebrahimlaila397
@ebrahimlaila397 5 лет назад
sorry if i used Userform1 .show 0 with Application.Visible = False then open any excel file i can show all excel windows can i keep first windows hidden
@Exceltrainingvideos
@Exceltrainingvideos 5 лет назад
This link will guide: www.exceltrainingvideos.com/automaticcally-hide-workbook-view-user-form/
@brishnafarahi4486
@brishnafarahi4486 7 лет назад
hello Sir , iam using the code eRow=sheet1.cells(Rows,count,1).end(xlup).Offset(1.0).row but it Shows error i am sure the code is correct can you help??
@Exceltrainingvideos
@Exceltrainingvideos 7 лет назад
The code you've typed is not correct. Please check it again.
@karnabudhathoki5311
@karnabudhathoki5311 5 лет назад
rows.count not rows,count rows dot count Not rows comma count... Theres the mistake..
@kailashsoni676
@kailashsoni676 Год назад
How to hide that loading screen
@newmhelemish
@newmhelemish 8 лет назад
sir, i will be grateful if you help me to make bank reconciliation automatically by VBA. Is there any availability for that?
@Exceltrainingvideos
@Exceltrainingvideos 8 лет назад
+mohamed helemish www.exceltrainingvideos.com/bank-reconciliation-using-excel-vba/
@newmhelemish
@newmhelemish 8 лет назад
Thanks sir, But that's doesn't meet my requirements.
@bujjibabukj9616
@bujjibabukj9616 2 года назад
Hi Sir My VBA code is not working properly if another workbook is opened. Request you help me to resolve this issue
@Exceltrainingvideos
@Exceltrainingvideos 2 года назад
You have to activate the workbook in which you have the macro. This Excel VBA tutorial will help: www.exceltrainingvideos.com/how-to-consolidate-data-from-multiple-excel-workbooks-using-vba/
@charlesdawnbeltran9603
@charlesdawnbeltran9603 5 лет назад
Is it possible to only hide the specific workbook? Because if I do this all other opened workbooks will be hidden as well.
@Exceltrainingvideos
@Exceltrainingvideos 4 года назад
Try it out and give feedback.
@guilhermepimenta1960
@guilhermepimenta1960 4 года назад
Please, i am facing a huge issue on my work. I need to hide only the form application, when i use this code all the application of other files are being closed. Can you Please help me ? I have already tried to search a lot in the internet but with no sucess
@Exceltrainingvideos
@Exceltrainingvideos 4 года назад
Try this: On the worksheet place a form button and attach it to UserForm1.Show On your UserForm1 place a button to hide the user-form like so: Me.Hide
@sukhdevjadeja7
@sukhdevjadeja7 8 лет назад
sir I have used almost same command but how to get print of the data which is entered. When i click print the user form get stuck your help in this regard is appricaited
@Exceltrainingvideos
@Exceltrainingvideos 8 лет назад
+Sukhdev Jadeja Have a look at this link for printing: www.exceltrainingvideos.com/automatically-search-excel-data-display-print-using-vba/
@sukhdevjadeja7
@sukhdevjadeja7 8 лет назад
+Dinesh Kumar Takyar thanks sir.
@sukhdevjadeja7
@sukhdevjadeja7 8 лет назад
sir i need VBA code to get border style automatically when data is entered and when data is deleted border style to be removed automatically Thank you
@rohankumar025
@rohankumar025 2 года назад
Sir plz describe how to edit excel sheet if userform is hidden. Because after hiding userform the procedure is still running and no key is working during this.
@Exceltrainingvideos
@Exceltrainingvideos 2 года назад
UserForm1.Show vbModeless Watch this video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Fy4TYNmUWak.html
@BertandRussell
@BertandRussell 5 лет назад
Hi sir, Is there any method not to show workbook from start, I mean while opening only userform will appear but not the workbook???
@Exceltrainingvideos
@Exceltrainingvideos 5 лет назад
That's what this video demonstrates!
@TheChandansss
@TheChandansss 5 лет назад
But this method will hide all other Excel Worksheets which are open! Is there any better way?
@alperduryaz
@alperduryaz 5 лет назад
Application.Windows(ThisWorkbook.Name).Visible = False Application.Windows(ThisWorkbook.Name).Visible = True
@TheChandansss
@TheChandansss 5 лет назад
@@alperduryaz tnks
@doublevu1981
@doublevu1981 2 года назад
What if I want to start in A7?
@Exceltrainingvideos
@Exceltrainingvideos 2 года назад
You can.
@doublevu1981
@doublevu1981 2 года назад
@@Exceltrainingvideos How? Pls teach me.
@kailashkumarjha8730
@kailashkumarjha8730 4 года назад
Sir no other excel sheet open when userform is active please answer how to fix this problem
@Exceltrainingvideos
@Exceltrainingvideos 4 года назад
That's what the video is about!
@rajeevmsw
@rajeevmsw 8 лет назад
I have used the same code to hide worksheet but after that i am not able to see worksheet anymore,when i close userform .Video shows that when we close userform automatically worksheet will be visible,Any solution
@Exceltrainingvideos
@Exceltrainingvideos 8 лет назад
Did you code the 'Close' button?
@imranraza4363
@imranraza4363 5 лет назад
dear sir, with due reverence, pls update the video how we take the print of only userform instead of excel sheet. sir hum sirf aur userform jo samany show hota bus uska print ly sakty hain if it is possible pls sir update
@BertandRussell
@BertandRussell 5 лет назад
Nahi ker sakte. Userform ka print le ker Kya karoge. Ager uska print chahiye to opened userform ka screenshot lo, phir paint me save kerke, paint se print nikalo...
@aliakbarmohammad2316
@aliakbarmohammad2316 5 лет назад
How to show user form directly desktop as icon
@Exceltrainingvideos
@Exceltrainingvideos 4 года назад
My current knowledge is that the User-form is part of Excel.
@sujitroy7821
@sujitroy7821 4 года назад
sir can we create .exe file of excel vba workbook???sir please solved this problem....
@Exceltrainingvideos
@Exceltrainingvideos 4 года назад
No but you can create an add-in.
@sujitroy7821
@sujitroy7821 4 года назад
Sir please make a tutorial on that..thank you sir
@TN--S
@TN--S 4 года назад
Sir, I have tried and i have some issue could you give mail id to send my file.
@Exceltrainingvideos
@Exceltrainingvideos 4 года назад
takyardinesh@gmail.com
@moodyrcf
@moodyrcf 5 лет назад
i tried the first now i cant re open and edit my program. :(
@Exceltrainingvideos
@Exceltrainingvideos 5 лет назад
It's a good idea to keep a copy of the workbook in which you wish to try a new macro. This link will help: www.exceltrainingvideos.com/automaticcally-hide-workbook-view-user-form/
@reeteshism
@reeteshism 3 года назад
It works. But when i open another workbook and close it, the workbook which i want to hide comes up.
@Exceltrainingvideos
@Exceltrainingvideos 3 года назад
Try again.
@reeteshism
@reeteshism 3 года назад
@@Exceltrainingvideos did it... Still the same..
@belalabdullah6011
@belalabdullah6011 2 года назад
same issue happens with me
@satishdeshpande1336
@satishdeshpande1336 4 года назад
Dear Sir, I've tired this code for hiding sheet.. but it is not properly working.. Worksheet becomes populating before opening userform, it means userform not smoothly opens.. Can you suggest me any other option for smoothly opens only userform & hide sheet.. Waiting for your genuine reply... Thanx...
@Exceltrainingvideos
@Exceltrainingvideos 4 года назад
This link to the Excel VBA tutorial will help: www.exceltrainingvideos.com/automaticcally-hide-workbook-view-user-form/
@javedahmed8343
@javedahmed8343 2 года назад
A little difficult
@vigneshsethupathi8351
@vigneshsethupathi8351 5 лет назад
Sir Please say how to hide the work book completely
@Exceltrainingvideos
@Exceltrainingvideos 5 лет назад
Will bake a video on this soon.
@brysgamingtv
@brysgamingtv 5 лет назад
how to turn it back? i cant open now my workbook T_T
@Exceltrainingvideos
@Exceltrainingvideos 4 года назад
www.exceltrainingvideos.com/automaticcally-hide-workbook-view-user-form/ We should always make a backup of the file when we wish to work with macros.
@kaneater1
@kaneater1 4 года назад
@@Exceltrainingvideos that's ok sir.. but how to return back to workbook??
Далее
How to Hide Excel and Show Userform ONLY - Excel VBA
10:50
SUPER EASY Excel Data Entry Form (NO VBA)
6:22
Просмотров 2 млн
How to get the Last Row in VBA(The Right Way!)
15:41
Просмотров 153 тыс.
VBA to BROWSE & COPY Data from SELECTED File in Excel
10:00