Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default TextBox InputMask???

Hello everyone.

I wonder if it's possible to set a input mask for a textbox.

I've got on my userform a textbox and a commandbutton. pressing th
button will insert the textbox.value into the cell.

I've got fixxed that when cell is empty then there will pop-up a msgbo
with "Nothing typed"

What I want is that when I insert spaces and or letters
and press the button, a msgbox will appear with:Only numbers ar
allowed or something.

Is that possible???


GreetZ Stift,

(I'm a C++-experienced programmer but not very experienced VB(A
programmer

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 292
Default TextBox InputMask???

Hi

See yesterday's thread "Textbox Validation" for a solution that discards
anything but numeric entries.

HTH. Best wishes Harald


"Stift " skrev i melding
...
Hello everyone.

I wonder if it's possible to set a input mask for a textbox.

I've got on my userform a textbox and a commandbutton. pressing the
button will insert the textbox.value into the cell.

I've got fixxed that when cell is empty then there will pop-up a msgbox
with "Nothing typed"

What I want is that when I insert spaces and or letters
and press the button, a msgbox will appear with:Only numbers are
allowed or something.

Is that possible???


GreetZ Stift,

(I'm a C++-experienced programmer but not very experienced VB(A)
programmer)


---
Message posted from http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default TextBox InputMask???

Thanks Harald,I saw the topic yesterday but I didn't understand th
sourcecode. I simply copy-pasted it in my source and it works great

--
Message posted from http://www.ExcelForum.com

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculate Textbox value based on another textbox value.doc Tdungate Excel Discussion (Misc queries) 1 February 12th 09 07:11 PM
Calculate Textbox value based on another textbox value Tdungate Excel Discussion (Misc queries) 0 February 12th 09 07:03 PM
Textbox Greg Excel Discussion (Misc queries) 3 April 3rd 05 09:38 AM
Textbox Rene[_4_] Excel Programming 0 June 2nd 04 03:52 PM
UserForm TextBox to ActiveSheet TextBox over 256 characters Dan E[_2_] Excel Programming 1 July 28th 03 07:36 PM


All times are GMT +1. The time now is 05:42 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"