Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Jeff
 
Posts: n/a
Default VBA select case question

Hi,

I have a select case statement and for one case I want the value to be
between 250,000 and 1,000,000

SO I wanted something like

Select Case XXX

Case Is 250,000<XXX<1,000,000

but this was not working does anyone know the way to do this?

Thanks for your help
  #2   Report Post  
Posted to microsoft.public.excel.misc
Ron Rosenfeld
 
Posts: n/a
Default VBA select case question

On Wed, 25 Jan 2006 10:05:03 -0800, "Jeff"
wrote:

Hi,

I have a select case statement and for one case I want the value to be
between 250,000 and 1,000,000

SO I wanted something like

Select Case XXX

Case Is 250,000<XXX<1,000,000

but this was not working does anyone know the way to do this?

Thanks for your help


Case 250000 to 1000000


--ron
  #3   Report Post  
Posted to microsoft.public.excel.misc
exceluserforeman
 
Posts: n/a
Default VBA select case question


if xxx 250000 AND xxx < 1000000 then

end if


"Jeff" wrote:

Hi,

I have a select case statement and for one case I want the value to be
between 250,000 and 1,000,000

SO I wanted something like

Select Case XXX

Case Is 250,000<XXX<1,000,000

but this was not working does anyone know the way to do this?

Thanks for your help

Reply
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
Loop for VBA code? paulinoluciano Excel Worksheet Functions 5 December 28th 05 01:30 PM
spell number JAWAD CHOHAN Excel Worksheet Functions 1 December 12th 05 05:58 PM
Convert number into words Blackwar Excel Discussion (Misc queries) 4 December 2nd 05 12:05 PM
convert numbers to text bellman Excel Discussion (Misc queries) 0 October 4th 05 10:28 PM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM


All times are GMT +1. The time now is 02:35 AM.

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"