Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 300
Default Editing Numbers on a Form

When editing user input on a form there is an IsDate function. But no
companion IsNumber. If I use the WorksheetFunction.IsNumber it sees the
input from the form as a string, and even when a valid number it says it
isn't. What is a simple way to check that the user entered a valid number?

Don <donwiss at panix.com.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Editing Numbers on a Form

"Don Wiss" wrote in message
...
When editing user input on a form there is an IsDate function. But no
companion IsNumber. If I use the WorksheetFunction.IsNumber it sees the
input from the form as a string, and even when a valid number it says it
isn't. What is a simple way to check that the user entered a valid number?

Don <donwiss at panix.com.


Check out Data Validation. With that you can specify that entry to any
specific cell has to meet certain criteria of your choice.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 300
Default Editing Numbers on a Form

On Wed, 24 Nov 2004, bigwheel wrote:

Don Wiss wrote:
When editing user input on a form there is an IsDate function. But no
companion IsNumber. If I use the WorksheetFunction.IsNumber it sees the
input from the form as a string, and even when a valid number it says it
isn't. What is a simple way to check that the user entered a valid number?


Check out Data Validation. With that you can specify that entry to any
specific cell has to meet certain criteria of your choice.


This is a user form. Data validation is for worksheet cells. The cell that
the form writes to has Data Validation, but the form writing to it doesn't
trigger the validation test.

Don <donwiss at panix.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
editing a form and emailing without saving pdaws Excel Worksheet Functions 1 August 21st 09 07:27 PM
form for editing BorisS Excel Discussion (Misc queries) 3 September 7th 06 02:56 PM
editing a form corresponded a specific range rony Excel Programming 1 October 24th 04 03:25 PM
Trouble with editing data from a user form ryssa[_10_] Excel Programming 1 July 1st 04 06:12 PM
editing control/form objects on a worksheet Ricky M. Medley Excel Programming 2 December 10th 03 02:50 PM


All times are GMT +1. The time now is 10:37 AM.

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"