View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Alan[_8_] Alan[_8_] is offline
external usenet poster
 
Posts: 117
Default Limit range of values for integer

In VBA (used in Excel), is there a way to limit the range of values of
a variable. For example, if I want to have an integer but only have
it range from 1 - 100 in value, how would I do that.

Thanks, Alan