Your original post:
---------------------------------
If cell A1=1, A1=3 or A1=5, I want the existing contents of B1 to be
deleted. However, if A1=2 or A1=4, I want to be able to enter input
into B1. Can someone suggest a macro for this? Thanks.
Michael
---------------------------------
It looked to me like you wanted the user to be prompted to input a
value for B1. If this is not the case, what exactly do you want the
cell in B1 to do if A1 is 2 or 4?
Basically, if the value for B1 doesn't matter, you can just delete this
line from Gary''s Student's code:
Range("B1").Value = Application.InputBox("Enter a value for B1:")
(E-Mail Removed) wrote:
> Thanks Gary's Studuent and Rob,
>
> It looks like I've got 2 promising possibilities. However, as a
> novice, I'm a little confused over someting you both have indicated.
> In both solutions, I need to enter a value for B1. What I need to
> reflect is any value greater than 0. How specifically would I state
> this? Rather, how would it appear? Thanks again.
>
> Michael