Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
VBA macros to check a blank
Hi,
My spreadsheet has a space allows a user to input information. I want to know codes to check whether the input space includes a blank or not. Also, if there is a blank cell, I want to show a dialog to display message. Does anybody know how to do it? Thanks for your help! |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
VBA macros to check a blank
set rng = Range("A1:A10")
if application.Countblank(rng) 0 then msgbox "Contains blanks" End if -- Regards, Tom Ogilvy "coffee11" wrote in message ... Hi, My spreadsheet has a space allows a user to input information. I want to know codes to check whether the input space includes a blank or not. Also, if there is a blank cell, I want to show a dialog to display message. Does anybody know how to do it? Thanks for your help! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Blank Check? | Excel Worksheet Functions | |||
Check for Non Blank and Blank Cells Before Save | Excel Discussion (Misc queries) | |||
is it possible 2 macros in 1 check box? | Excel Discussion (Misc queries) | |||
Check box macros | Excel Discussion (Misc queries) | |||
Pls help to check my macros | Excel Programming |