6 Ways To Disable Text Or Numbers in Userform TextBox - ExcelVbaIsFun

  Рет қаралды 24,712

ExcelVbaIsFun

ExcelVbaIsFun

Күн бұрын

📊 Free Workbooks: www.excelvbaisfun.com/links?u...
🥷Join Excel Ninja Pro: www.excelvbaisfun.com/ninjapr... Months FREE On Annual Plan Auto Applied)
🥷Excel Ninjas FB Group: www.excelvbaisfun.com/xlninjas (Free downloads, Trainings, Live Q&A and more)
Fantastic Developer Tools:
🔒 Transform Any Excel File Into A Locked EXE: www.excelvbaisfun.com/secure-... (25% off with code ‘25OFF’)
🟡 Create Custom Installers: www.excelvbaisfun.com/custom-...
👋 Business Inquiries, Consulting, Comments, etc: www.excelvbaisfun.com/contact/

Пікірлер: 37
@krn14242
@krn14242 4 жыл бұрын
Thanks Dan. This is great content and explains restricting text boxes very well. Great job!
@ExcelVbaIsFun
@ExcelVbaIsFun 4 жыл бұрын
Thanks, Kevin! I appreciate your input, my friend! So glad it's helpful!
@TanteHela
@TanteHela 4 жыл бұрын
Thank YOU Dan, what a nice, neat and helpful video (again). Really appreciate the time and effort you put into this. As I'm currently working on a new Userform this truly helps and prevents incorrect entering of values without having to click on the msgbox and setfocus. Looking forward to your next video :-)
@ExcelVbaIsFun
@ExcelVbaIsFun 4 жыл бұрын
Hi TanteHela, Thanks for your kind words! I appreciate it! So glad it was helpful! Dan
@rahillakhan3751
@rahillakhan3751 6 ай бұрын
Excellent tutorial! Clear, easy to understand and thorough. Thank you!!
@wayneedmondson1065
@wayneedmondson1065 4 жыл бұрын
Hi Dan.. excellent.. thanks for the 6 tips on controlling TextBox inputs on Userforms. Was aware of 1 or 2.. glad to now know the others. Thumbs up!!
@ExcelVbaIsFun
@ExcelVbaIsFun 4 жыл бұрын
Glad it was helpful, Wayne! Thanks for sharing!
@eCabinetstipsandtricks
@eCabinetstipsandtricks 4 жыл бұрын
Thanks, Dan Great Video.
@ExcelVbaIsFun
@ExcelVbaIsFun 4 жыл бұрын
Thanks, Scott!👍👍
@almerdavidsolis7287
@almerdavidsolis7287 3 жыл бұрын
Awesome, this is useful for barcode scanning function in userform
@michaelsmits8677
@michaelsmits8677 Жыл бұрын
now this an instruct the way it should be, to the point and easy to grasp, Dan you are a VBA God to be worshipped
@ExcelVbaIsFun
@ExcelVbaIsFun Жыл бұрын
So glad it was helpful to you, Michael!
@richardnina79
@richardnina79 Жыл бұрын
Thank you! Could you please show me how to skip a field (text box or date picker) if a previous one met a condition? For example, if the order was not delivered, skip the date of receipt. Thank you!
@eddai84
@eddai84 4 жыл бұрын
Hi Dan, thanks for sharing this useful video.
@ExcelVbaIsFun
@ExcelVbaIsFun 4 жыл бұрын
Sure thing! Thanks for thanking me!😀
@ExcelVbaIsFun
@ExcelVbaIsFun 4 жыл бұрын
and thanks for watching!
@yaseenbasha7430
@yaseenbasha7430 3 жыл бұрын
Wow really a helpful tricks in text box, i need one help from you is how to restrict a input in this format "C-1234567", please help, Thanks in advance
@carlo9567
@carlo9567 2 жыл бұрын
Great Job
@ExcelVbaIsFun
@ExcelVbaIsFun 2 жыл бұрын
Thanks!
@lukecassar766
@lukecassar766 2 жыл бұрын
I have a userform with a bunch of textboxes that I only want numbers for a decimal in. How do I make the KeyPress event call to a function that validates the key pressed. Rather than repeating the code for every single KeyPress event. (hope I worded that clearly enough)
@W3DRM
@W3DRM 4 жыл бұрын
Hi Dan, yet another great video from you! However, as on old-timer (58+ years of programming - that means I'm really old but still learning new tricks ;)), I have to laugh at your spelling out of ASCII rather than pronouncing it verbally. ASCII code has been around forever and has always been verbalized as "ASK-KEY" rather than spelled-out. that's much easier than spelling it each time you verbally refer to it. Thanks for all of your Excel VBA training videos. I've learned a lot from them over the years. Best regards, Don
@ExcelVbaIsFun
@ExcelVbaIsFun 4 жыл бұрын
HAHA! That's hilarious! Thanks for correcting me and helping me pronounce it, Don. Hope the material was at least helpful😁🤣. Many thanks, again!!
@carlo9567
@carlo9567 2 жыл бұрын
Can you help me with the following please: I created a Userform with 14 Textboxes. T1...T12 for data entry(numeric value only). T13 : Sum of T1...T12 (It’s ok for that one.) How can I get the Average automatically in T14, counting non blank textboxes?
@ExcelVbaIsFun
@ExcelVbaIsFun 2 жыл бұрын
Here's the new video for you kzfaq.info/get/bejne/jt2ifr1lubOzXas.html Thanks
@manfredkrob3314
@manfredkrob3314 5 ай бұрын
Hi Dan, thanks for this tutorial. But i have an Issue. I work with Excel 365 german Version. I got Debug with Message "FCompiling errors Variable not defined". Where is my failure? Could you help?
@manfredkrob3314
@manfredkrob3314 5 ай бұрын
I found it. This Code is functional Private Sub TextBox1_BeforeUpdate(ByVal Cancel As MSForms.ReturnBoolean) Dim cVal As String Dim cLen As Integer Dim numSigns As String cVal = Me.TextBox1.Value cLen = Len(cVal) numSigns = String(cLen, "#") If cVal Like numSigns Then 'do nothing Else MsgBox " Nur Zahlen eingeben" Cancel = True 'highlight entire Text With Me.TextBox1 .SelStart = 0 .SelLength = cLen .SetFocus End With End If End Sub
@limitone9564
@limitone9564 2 жыл бұрын
how do you format the date one entered in a userform ? it's coming out as 44665 ... when I pull the data from the spreadsheet to view in the userform textbox.
@ExcelVbaIsFun
@ExcelVbaIsFun 2 жыл бұрын
Sure, can we see your code in order to better assist? Thanks Dan
@pannatpannat4119
@pannatpannat4119 Жыл бұрын
i wan to limit num on 5 digitt can help me plz
@Husky_Passion
@Husky_Passion 4 жыл бұрын
isnumeric can be tricky, since "10E3" would be a numeric value
@ExcelVbaIsFun
@ExcelVbaIsFun 4 жыл бұрын
True that! Ew - scientific notation! haha. Great point, Husky Passion!
@carlo9567
@carlo9567 2 жыл бұрын
Can someone help me with that please?
@ExcelVbaIsFun
@ExcelVbaIsFun 2 жыл бұрын
Hey Carlo, we answered this with a whole new video. kzfaq.info/get/bejne/jt2ifr1lubOzXas.html Thanks
@carlo9567
@carlo9567 2 жыл бұрын
@@ExcelVbaIsFun You just got a new subscriber.
@carlo9567
@carlo9567 2 жыл бұрын
SOS
@ExcelVbaIsFun
@ExcelVbaIsFun 2 жыл бұрын
I filmed a solution, it's in editing now. Will let you know when it's ready! :)
Textbox Format Excell VBA
9:54
razakmcr
Рет қаралды 61 М.
БОЛЬШОЙ ПЕТУШОК #shorts
00:21
Паша Осадчий
Рет қаралды 11 МЛН
I Can't Believe We Did This...
00:38
Stokes Twins
Рет қаралды 121 МЛН
How to Hide Excel and Show Userform ONLY - Excel VBA
10:50
ExcelVbaIsFun
Рет қаралды 287 М.
How to Format Textbox Phone Number in Excel | VBA
11:06
xlpedia
Рет қаралды 1,1 М.
How to get the Last Row in VBA(The Right Way!)
15:41
Excel Macro Mastery
Рет қаралды 153 М.
Excel VBA Userform to Search and Update Data -  Excel VBA Userform Example
23:48
Create a Filter as You Type SEARCH BOX in Excel VBA
15:11
Chester Tugwell
Рет қаралды 55 М.
How to make your Excel VBA code run 1000 times faster
16:55
Excel Macro Mastery
Рет қаралды 358 М.
ComboBox füllen aus Tabellenblatt | Excel VBA
22:34
Kai Weissmann
Рет қаралды 23 М.
Excel VBA - Auto enable or disable command button on userform
8:37
БОЛЬШОЙ ПЕТУШОК #shorts
00:21
Паша Осадчий
Рет қаралды 11 МЛН