#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 58
Default Force a number input

Hi,
I'd like to know if it's possible for force people to put in a number in
some field and create a msgbox if it's not a number. And how it's possible is
probably more important. An example code would be appreciated!

Gunti
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Force a number input

The function you need is Data validation.
Look it up in Excel help.
--
David Biddulph


"Gunti" wrote in message
...
Hi,
I'd like to know if it's possible for force people to put in a number in
some field and create a msgbox if it's not a number. And how it's possible
is
probably more important. An example code would be appreciated!

Gunti



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,510
Default Force a number input

Hi Gunti,

Lookup data validation in Help. I think that you will find sufficient info
there to do what you want.

--
Regards,

OssieMac


"Gunti" wrote:

Hi,
I'd like to know if it's possible for force people to put in a number in
some field and create a msgbox if it's not a number. And how it's possible is
probably more important. An example code would be appreciated!

Gunti

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
How to force cell input from a List? NightLord Excel Discussion (Misc queries) 3 September 27th 08 01:24 AM
input in number form is being multiplied by 1000 when i input. jweinograd Excel Discussion (Misc queries) 4 April 16th 07 11:18 PM
number input box Stan Halls Excel Worksheet Functions 4 June 27th 06 01:12 PM
Force function to show positive or negative number? smoore Excel Worksheet Functions 3 March 3rd 06 08:34 PM
need to force PT to use formated number David Russell Excel Worksheet Functions 2 March 15th 05 11:37 PM


All times are GMT +1. The time now is 07:00 PM.

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

About Us

"It's about Microsoft Excel"