Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have built a form used by various people. I woull like to make sure they
input some valid form of data into the cell. Upon execution of the macro, I would like to check the cell for length of characters or somthing like that. I have tried to use the somthing like: Dim EHS as String Dim MyLen as Integer range("A1").select EHS = Selection MyLen = Len(EHS) If Mylen <2 then Some type of message or input box.... When I try this I get a Runtime error 13. Any suggestions? ZABU |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Determining the Cell Address of a VLOOKUP Result in VBA | Excel Discussion (Misc queries) | |||
determining the largest value in a sequence of text strings | Excel Discussion (Misc queries) | |||
Determining the text mode from a variety of data types | Excel Worksheet Functions | |||
Determining AM or PM in text string | Excel Worksheet Functions | |||
Determining whether selected cell has value or formula? | Excel Programming |