Excel VBA USERFORMS #20 Data Entry a Breeze with Userforms! AUTOCOMPLETE with Combobox

Excel VBA USERFORMS #20 Data Entry a Breeze with Userforms! AUTOCOMPLETE with Combobox

ExcelVbaIsFun

11 лет назад

561,453 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@tbonepr1
@tbonepr1 - 03.11.2023 02:40

excelente trabajo profesor

Ответить
@desi8181
@desi8181 - 13.10.2023 15:24

How if 3 text box, ita same way, how if label. value, its same way?

Ответить
@jfresh2054
@jfresh2054 - 10.01.2023 04:40

I still can’t figure out how to make the text box default to date.

Ответить
@searchis
@searchis - 22.11.2022 18:39

Hi. Thanks for the NYC vid. Sir how can we attach two text box lists to each other for controlling wrong data feeding . Linking two lists of data.

Ответить
@ukaszsotkiewicz3879
@ukaszsotkiewicz3879 - 11.04.2022 16:49

If I may, I can only suggest that you can reference the list for combobox just by typing the name of a Named Range you've created into combobox properties, search for option called: RowSource. Thanks to that you can skip the bit of code responsible for building up the list of items for combobox while initializing UserForm. You'll get the same AutoComplete effect.
I love your work by the way.

Ответить
@johng5295
@johng5295 - 01.12.2021 04:26

Thanks in a million. Great content. Awesome imagination.Grade: A++💥

Ответить
@tomas39022
@tomas39022 - 11.02.2021 17:36

Bro I try to do your steps and now I am on the submit button.. I wrote the code but when I run it I fill the info and then when I click submit it does not run it and say run time error 9. Subscript out of range. What should I do my man?

Ответить
@sitiaqila4592
@sitiaqila4592 - 25.12.2020 05:39

I have a question. Why i cannot run the code. It shows run-time error ‘424’ object required

Ответить
@omairbinenam6337
@omairbinenam6337 - 21.12.2020 00:45

nice. I like it.

Ответить
@dineshsuthar6932
@dineshsuthar6932 - 21.09.2020 18:42

Thankes for it

Ответить
@nurhossainraihan8401
@nurhossainraihan8401 - 12.09.2020 12:04

helpful

Ответить
@danhiggins1427
@danhiggins1427 - 04.09.2020 04:56

blah was not defined

Ответить
@soumitranath2885
@soumitranath2885 - 21.08.2020 05:43

bro your video are more simple and straight to point . good job man

Ответить
@morlaibangura8788
@morlaibangura8788 - 28.05.2020 11:28

thanks nice video. please what is a the code if i want to enter the date into sheet 2, 3 and 4 using different user form

Ответить
@danielk9422
@danielk9422 - 16.04.2020 10:17

Using "each blah" for this formula is making this confusing and "ssheet" was the even necessary? Are you trying to show off or actually teach people VBA? Super annoying.

Ответить
@farhanislam3707
@farhanislam3707 - 31.08.2019 08:00

HOW TO ADD PICTURE FROM USERFORM TO EXCEL CELL INFRONT OF NAME CELL

Ответить
@remon7614
@remon7614 - 27.08.2019 01:01

Where's the tutorial about the list you said on the video?

Ответить
@shankarganeshacharya4272
@shankarganeshacharya4272 - 18.06.2019 09:03

Hi i need help in creating a data entry form with macros. when i enter reference number in part no start time should automatically come and when i click end it should end. can you help

Ответить
@bilgidanismanlikmerkezi5418
@bilgidanismanlikmerkezi5418 - 10.06.2019 04:24

VERY BEAUTIFUL ... IF YOU MAKE FILES LIKE THIS VIDEO VIDEO AND SHARE WILL BE GREAT. STAY WITH LOVE

@

Ответить
@Hellzing50
@Hellzing50 - 16.03.2019 03:04

Hello friend and thank you for this video, I am having an error when trying to run part of this code, more specifically with the submit button, the error I get says "Wrong number of arguments or invalid property assignment" I´m not sure what´s going on, I hope you can shed some light over here...

Ответить
@mrlngl
@mrlngl - 18.02.2019 21:32

Hello and thank you, i would like ask you: with combox1 It is possible make the a opposite as in this video so, choose the text in cells and full the combox?

Ответить
@AdrianLyons
@AdrianLyons - 15.02.2019 10:21

I'm looking for Excel 365 for Mac advanced short cut keys instead of you PC Alt + I + D (dynamic name range)

Ответить
@azoubokreta7652
@azoubokreta7652 - 14.01.2019 03:50

thank u

Ответить
@chadthesubvet9190
@chadthesubvet9190 - 04.01.2019 08:56

hey, I am having some problems with my code. can you tell me what i am doing wrong here? Debugging shows the issue in the nr = line with either maxed out rows even though there is no data in the worksheet or it says cdate(me.tbdate) is the issue

Private Sub btnsubmit_Click()

Dim newcert As Worksheet

Set newcert = ThisWorkbook.Sheets("certifications")

nr = ThisWorkbook.Sheets("certifications").Cells(Rows.Count, 1).End(x1up).Row + 1

newcert.Cells(nr, 1) = Me.tbname
newcert.Cells(nr, 2) = Me.tbID
newcert.Cells(nr, 3) = Me.CBpos
newcert.Cells(nr, 4) = Me.CBstat
newcert.Cells(nr, 6) = Me.CBcourse
newcert.Cells(nr, 7) = CDate(Me.tbdate)



End Sub

Private Sub UserForm_Initialize()
Me.tbdate = Date

For Each Position In [Table10]
Me.CBpos.AddItem Position

Next Position

For Each Status In [table11]
Me.CBstat.AddItem Status

Next Status

For Each course In [table12]
Me.CBcourse.AddItem course

Next course

End Sub

Ответить
@thereviewshonor2454
@thereviewshonor2454 - 31.12.2018 12:34

Sir. The
nr=ssheet.cells(rows.count,1).end(x1up).row+1
Not working. It keep prompted yellow.

Ответить
@dorlagrant4079
@dorlagrant4079 - 14.12.2018 06:00

Can you please check this for me ? getting error message at Blah- says variable not defined

Private Sub UserForm_Initialize()

Me.Texdate = Date

'fill combobox
For Each blah In [Nature_of_Contact]
Me.Combonat.AddItem blah

'fill listbox
For Each blah In [phone]
Me.Listphone.AddItem blah

'fill combobox
For Each blah In [Visit]
Me.Comboreason.AddItem blah

Next blah

End Sub

Ответить
@dorlagrant4079
@dorlagrant4079 - 14.12.2018 05:47

says variable has not been defined

Ответить
@LiverpoolDon1981
@LiverpoolDon1981 - 16.11.2018 06:35

My List is on another spreadsheet because I have a lot of data that I want to sort through and if I have my userform on the "list" sheet it would be too chaotic. This video got me half of the way, now I need to find how to "link" my List to the userform that's on another sheet. Thanks for your help boss! My search continues. :o)

Ответить
@threeorange6091
@threeorange6091 - 08.10.2018 03:47

🚈🚝看美眉露点私禁🚫视频➕微信hot5383🚘🚡衣冠楚楚尺寸🇫🇷🇫🇷f g g h h

Ответить
@lastbencher6515
@lastbencher6515 - 04.10.2018 09:23

Superb.. Its giving auto date and time in the userform in the simple one line me.tbdate = date & "" & time

Ответить
@seckinbilgic
@seckinbilgic - 01.10.2018 02:18

works perfect.

Ответить
@saurabhkale2778
@saurabhkale2778 - 21.09.2018 21:02

Hello
Thank you for the great video!
I'm getting an error saying "Type Mismatch".
I don't know where the problem lies.
Any help is appreciated!
Thank you!
SK

Ответить
@thovytobias8803
@thovytobias8803 - 14.09.2018 16:17

how to add search button thanks

Ответить
@abdulallam
@abdulallam - 31.08.2018 21:41

Is it possible to write a code in vba to make a certain excel file not open after 200 hours. As soon as the excel is open or minimized, the minutes or hours should count down. The data entered in this excel shall not be able to copy into other excel file or viceversa. Later when the hours become 0 then the excel shall be locked and ask username password for login. Later the operator shall get new login details from me for him to login to his excel. The operator shall not be able to see vbn code nor edit it. I would appreciate any help on this

Ответить
@maddinenirajeshbabu3143
@maddinenirajeshbabu3143 - 16.07.2018 20:02

Hi I have one doubt whenever we enter the data in userform how to convert that data in directly xml format file without excel sheet
Thanks in advance

Ответить
@HamidurRahman
@HamidurRahman - 29.05.2018 21:06

Really helpful this

Ответить
@johnsanders9103
@johnsanders9103 - 17.05.2018 09:29

Good video but remember to explain the keyboard shortcuts as your doing them out of view. F5 got me into the form but had to search all over to find Alt + F4 closes it and takes back to design mode.

Ответить
@22cranbrookave
@22cranbrookave - 16.05.2018 06:59

you are a genius guy

Ответить
@ChristophHeylen
@ChristophHeylen - 30.04.2018 17:05

Clear, right speed, simple example explanation, thanks! Although, in my example I run into a bug at the line where we search for the next empty row. "application-defined or object-defined error". I can't solve this...

Ответить
@jagans9310
@jagans9310 - 21.03.2018 04:57

Hello, thanks for the video and need help to enter date in the form without typing slash symbol. Ex: if i type only the number slash should be default for the date format mm/dd/yyyy. can you please help me

Ответить
@expat2010
@expat2010 - 04.03.2018 10:51

Good pace on this video.

Ответить
@simonlaforge2107
@simonlaforge2107 - 02.02.2018 23:42

how i can put data in row 14 not in row 1
I have date before 14 first row and after 18 row i need to put de data between. THanks

Ответить
@sayantan99paul
@sayantan99paul - 26.12.2017 11:58

Run Time Error 424, Object Required

Ответить
@princehassanbaig3496
@princehassanbaig3496 - 22.10.2017 02:32

thank you thank you so much plz add me whatsapp 03223016081

Ответить
@arikurniawan3585
@arikurniawan3585 - 11.09.2017 10:50

Thanks this is so helpful...

Ответить
@franklinhomecillo5275
@franklinhomecillo5275 - 13.08.2017 05:09

Can anyone help me . I have combo box and text box for data entry. Is there any way when i select item listed on combo box and enter anything on textbox would go to the sheet where i want to put. But combo box will only find the item on the sheet of what was being selected . Onlythe text will be entered once selected item found

Ответить
@camross6004
@camross6004 - 10.08.2017 17:02

Hey mate great video. Just a quick question- For listbox, how would you adapt your code to have multiple selections passed back to a single cell seperated by a comma back in your worksheet.

Ответить
@louisasher9787
@louisasher9787 - 26.07.2017 08:19

this video is tha bomb. i mean seriously, i now have a basic grasp of how to use VB and i have a data entry form of drop downs!!!!

Ответить
@JoeyIngles
@JoeyIngles - 20.07.2017 23:39

Your code did not work for me. Sorry.

Ответить