Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Consider using a select case statement, it might be easier: Val=Range("A1") Select Case Val Case 1 Range("B1")=1 '(or Range("B1").Select ) Case 2 Range("B2")=1 '(or Range("B2").Select ) etc. Check out the VB help for more details -- mackerm ----------------------------------------------------------------------- mackerma's Profile: http://www.excelforum.com/member.php...fo&userid=1534 View this thread: http://www.excelforum.com/showthread.php?threadid=27054 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
correct syntax for nesting "if", "and", and "vlookup"....if possib | Excel Worksheet Functions | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
Syntax to "OR" 3 "ISERROR" conditions | Excel Worksheet Functions | |||
Macro to concatenate into "B1" B2 thru B"x" based on new data in "Col A" | Excel Discussion (Misc queries) | |||
what is syntax for if(between range of dates,"Q1","Q2")? | Excel Worksheet Functions |