Thread: Options in Cell
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Todq Todq is offline
external usenet poster
 
Posts: 1
Default Options in Cell

If Range("B1").Value 0 Then
Range("A1").Value = Range("B1").Value
Else
Range("A1").Value = InputBox("Enter a value for Cell
A1.", , 0)
End If

Tod
-----Original Message-----
Is there a way to create;

A1=If(b10,b1, (otherwise 0 or user input)

so if b1=1 then a1=1, if b1=0 then a1 would = 0 or else

a
value inputed by the user.

.