How To Allow ONLY Numbers and Decimals to a Textbox - [Free Download] - Excel VBA Training

  Рет қаралды 7,917

ExcelVbaIsFun

ExcelVbaIsFun

Күн бұрын

Пікірлер: 24
@Mr_Game_And_Walk
@Mr_Game_And_Walk Ай бұрын
Thank you for this. I had forgotten about the keyDown event.
@EricHartwigExcelConsulting
@EricHartwigExcelConsulting 2 жыл бұрын
Great Stuff Dan! Thank you for creating/sharing this video!
@ExcelVbaIsFun
@ExcelVbaIsFun 2 жыл бұрын
Thanks! So glad you enjoyed it!
@krn14242
@krn14242 2 жыл бұрын
Thanks Dan. Nice to see you talking about "old" vba again. LOL.
@ExcelVbaIsFun
@ExcelVbaIsFun 2 жыл бұрын
Haha. True. I love new things but there's so much that can be done with core elements! Thanks Kevin!
@Info-God
@Info-God 2 жыл бұрын
A straightforward solution. Thank you very much!
@ExcelVbaIsFun
@ExcelVbaIsFun 2 жыл бұрын
Thank you! And sorry for the delay, but I'm glad you liked it :)
@Info-God
@Info-God 2 жыл бұрын
@@ExcelVbaIsFun No problem. Actually I might have few things to add to your solution for - Numeric only data entry in a text box. But only if you'd like or think to have a part 2, 3 to your solution.
@wayneedmondson1065
@wayneedmondson1065 2 жыл бұрын
Cool! Thanks Dan. Thumbs up!!
@ExcelVbaIsFun
@ExcelVbaIsFun 2 жыл бұрын
Thanks, Wayne! :)
@thomasfergusen5144
@thomasfergusen5144 2 жыл бұрын
Great! Thank you very much
@ExcelVbaIsFun
@ExcelVbaIsFun 2 жыл бұрын
Very welcome, thomas!!
@cbay11
@cbay11 2 жыл бұрын
Hi dan love the work, is there a way you could do a tutorial on how to do a userform macro for selecting documents using option buttons for different worksheets, that firstly needs to be selected, then using a command button to confirm the document selection to open the desired worksheet from the numerous options? Thank you if so!
@ExcelVbaIsFun
@ExcelVbaIsFun 2 жыл бұрын
Hi cbay11, Can you show me a demo workbook or send me a loom video to better describe this process? That may help me visualize what you're needing better. You can reach me at dan@excelvbaisfun.com Thanks Dan
@ruileite6531
@ruileite6531 2 жыл бұрын
Many thanks (Y) Great work!
@ExcelVbaIsFun
@ExcelVbaIsFun 2 жыл бұрын
Thanks so much!
2 жыл бұрын
Hai dan sir ! I have a problem. I want a message when i click my excel file's any cell so what code i run please tell me. Reply plz🙏🏻
@ExcelVbaIsFun
@ExcelVbaIsFun 2 жыл бұрын
Hi Garvit, You can have a message popup when you click on any cell in a workbook, when you click on a specific cell, when you double click something, right click something, or when you change a cell's value. It just depends on what you want it to do. We have tons of lectures on the topic in our course here: www.excelvbaisfun.com/ultimate-excel-pro/
2 жыл бұрын
@@ExcelVbaIsFun but sir until i start course, you tell me the code for msg box in excel any cell click..please
@kenc8411
@kenc8411 2 жыл бұрын
I usually try to avoid the vbKey constants wherever I can, unless it's something that doesn't produce a character on screen like BackSpace, Home, Ctrl, etc. I'd use ASC() to trap my visual keys, like in the numeric case, I always use ASC("0") TO ASC("9"), which will trap my numeric inputs whether it's from the NumPad or the top row. Never fails. For decimals or any kind of symbol I will also use ASC("."), ASC("-"), and so on.
@ExcelVbaIsFun
@ExcelVbaIsFun 2 жыл бұрын
That's fantastic!!
@SmartExpertDesigns
@SmartExpertDesigns Жыл бұрын
How to allow fractions and when Enter key pressed then it fills a value on a specific cell
@CarlFritz24
@CarlFritz24 2 жыл бұрын
FORMAT a Textbox to show NUMBER (in order to be saved as DECIMAL NUMBER) is the REAL NEED of everyone. There are some so TEDIOUS videos on the matter, that we only can get out of them (so showing off they are). Can you just and simply do THAT ? There is a situation here, in your video: what if... instead of a keystroke, the mouse is used (on clicking the button SAVE, for instance).
5 Things I wish I knew When I started using Excel VBA
12:45
Excel Macro Mastery
Рет қаралды 339 М.
6 Ways To Disable Text Or Numbers in Userform TextBox - ExcelVbaIsFun
32:08
Real Man relocate to Remote Controlled Car 👨🏻➡️🚙🕹️ #builderc
00:24
Reduce VBA Errors by 90% (with this little-known Method)
16:59
Excel Macro Mastery
Рет қаралды 58 М.
Master Excel VBA in 2025 with ChatGPT
10:28
Victor Chan
Рет қаралды 2,2 М.
EASILY Make an Automated Data Entry Form in Excel
14:52
Kenji Explains
Рет қаралды 819 М.
Python in Excel vs. VBA - What You Should Learn in 2024!
10:05
David Langer
Рет қаралды 60 М.
Excel VBA: Copy Data Between ANY Two Sheets
12:56
Excel Macro Mastery
Рет қаралды 122 М.
How To Validate Userform Inputs With Excel VBA (Excel Userforms For Intermediates 2)
8:18
Allow TEXT or numbers with DECIMAL POINT in UserForm 👉 [Excel VBA]
14:53
Sergio Alejandro Campos - EXCELeINFO
Рет қаралды 45 М.
Real Man relocate to Remote Controlled Car 👨🏻➡️🚙🕹️ #builderc
00:24