randallc Posted July 13, 2005 Share Posted July 13, 2005 (edited) Hi Strate,yes, compare only if $var not number and it works.If StringIsInt($var) or $var <> "Quantity" Then;If $var <> "Quantity" ThenIf not StringIsInt($var) and $var = "Quantity" Then; If $var = "Quantity" ThenORIf StringIsAlpha($var) and $var = "Quantity" ThenIf not StringIsAlpha($var) or $var <> "Quantity" ThenAre you saying you HAVE or "have not" worked out how to do a "Pick List" for the worksheet too?(I still don't know if I really need all that checking of the format in the function either...)Best, Randall Edited July 13, 2005 by randallc ExcelCOM... AccessCom.. Word2... FileListToArrayNew...SearchMiner... Regexps...SQL...Explorer...Array2D.. _GUIListView...array problem...APITailRW Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now