Surely you all have 'Require variable declaration' ticked to force it!
Dim ImportantValue as string ImportantValue="Important" If ImpotantValue="" then Msgbox "Why have I spent hours debugging this code to find out why this message keeps appearing?" end if