View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
ivory_kitten ivory_kitten is offline
external usenet poster
 
Posts: 40
Default VBA to set value of a cell

I want to set cell D2 (named rng5) to a certain text value if cell B2 (named
rng3) equals a certain value.

Eg:

If rng3 = Shane then rng5 value to be set to "Private", else rng5 value to
be set to "Public"

Any help appreciated, thanks!