If a2="" and a3="" then S2. Enabled = False S3. Enabled = False Elseif a2<>"" and a3="" then S2. Enabled = True S3. Enabled = False End if