Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default How can i apply the validation on the cell with invalid data.

I have a cell with number and want to apply the validation on this cell with
date type
How can i do this and bing up the error message saying "The value you
entered is not valid" in VBA?


Shin



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,339
Default How can i apply the validation on the cell with invalid data.

If Application.isNumber(Range("A1")) then
Msgbox "The value entered is not valid - " & Range("A1")
End if

"Shinya Koizumi" wrote:

I have a cell with number and want to apply the validation on this cell with
date type
How can i do this and bing up the error message saying "The value you
entered is not valid" in VBA?


Shin




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
data validation invalid in dynamic validation list ilia Excel Discussion (Misc queries) 0 November 7th 06 12:54 PM
data validation invalid in dynamic validation list ilia Excel Worksheet Functions 0 November 7th 06 12:54 PM
Data Validation: Printing Invalid Data Circles Andrew Excel Discussion (Misc queries) 1 May 4th 06 08:09 PM
Data Validation not preventing invalid entries Denise Excel Discussion (Misc queries) 2 April 6th 06 10:55 PM
Invalid Validation if cell "Delete"d RWN Excel Worksheet Functions 4 March 19th 05 07:29 PM


All times are GMT +1. The time now is 12:22 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"