HI,

Hoping someone could get me started on the syntax for this particular issue.

1st: I want a sub-procedure run all the time (everything I've done to date is based on teh click of a button), so first I'm not sure where to place this to have this IF statement always being evaluated

2nd: What's the syntax for this? Right now all I can come up with isthe followikng and the VB window already gives me an error highlighting the "AND" in the very first line:

SUB [name]

IF (AND(K32="TEXT", K34="TEXT") THEN

TXTBOX1.visitble = TRUE
TXT Box2.visitble = False

ElseIf (OR(K32="TEXT, K34="TEXT) THEN

TXTBOX1.VISIBLE= TRUE
TXTBOX2.VISIBLE= FALSE

ELSE

TXTBOX1.VISIBLE= TRUE
TXTBOX2.VISIBLE = TRUE

ENDIF

EndSub

Thanks in advance