Since in both lines you're checking for the same thing, why not use a block If...End If? Can't get much cleaner than that. Besides, single line If's are hell to read (IMO)