LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
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
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
limit range to unique values Michael[_4_] Excel Programming 6 May 5th 10 03:47 PM
Divide the values of 2 integer variables? LongBeachGuy Excel Programming 2 October 19th 07 02:09 AM
Worksheets, comboboxes, and integer values Bryan44 Excel Programming 1 March 7th 07 01:07 AM
how do I put in the IF function only integer as true values? suat Excel Worksheet Functions 1 November 3rd 06 06:17 PM
Convert values in a variant array to integer values Graham McNeill Excel Programming 1 November 13th 04 12:47 AM


All times are GMT +1. The time now is 09:44 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"