Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jay Jay is offline
external usenet poster
 
Posts: 671
Default How do Incorporate a condition in a case statement?

Is it possible for me to combine the Case statement with the following
conditions.
I already tried this but I'm having an error with it.

e.g.
Case rw = rwBon And rw <= rwBonx

if possible please can I have an example, coz i think its possible but it
dunno how.

Thanks.
Jay


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default How do Incorporate a condition in a case statement?

:Select Case Rw

Case rwbon To rwBonx:

End Select


"Jay" wrote:

Is it possible for me to combine the Case statement with the following
conditions.
I already tried this but I'm having an error with it.

e.g.
Case rw = rwBon And rw <= rwBonx

if possible please can I have an example, coz i think its possible but it
dunno how.

Thanks.
Jay


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
Incorporate a condition in an IF((OR €¦.formula aussiegirlone Excel Discussion (Misc queries) 2 August 15th 09 05:31 AM
Case Statement jlclyde Excel Discussion (Misc queries) 3 December 4th 08 05:04 PM
I want to incorporate an IF statement in my XL footer PClantonBailey Excel Worksheet Functions 1 August 13th 07 05:26 PM
Case Statement Help stck2mlon Excel Programming 3 June 2nd 04 01:44 PM
Case statement smi Excel Programming 2 October 18th 03 02:20 PM


All times are GMT +1. The time now is 03:42 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"