ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Detecting spaces in UserForm textboxes (https://www.excelbanter.com/excel-programming/337986-re-detecting-spaces-userform-textboxes.html)

Ouka[_15_]

Detecting spaces in UserForm textboxes
 

ronthedog Wrote:
I'd suggest using LEN to return the length of the string in the textbox.
If it returns zero then your textbox is empty


But I want to define anything with only space characters as empty as
well.

Doing a LEN on a textbox with a space in it would return as 1, would it
not?


--
Ouka
------------------------------------------------------------------------
Ouka's Profile: http://www.excelforum.com/member.php...o&userid=23988
View this thread: http://www.excelforum.com/showthread...hreadid=397942



All times are GMT +1. The time now is 12:25 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com