Re: If statement with a Null

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance




"Cindy M." <C.Meister-C@xxxxxxxxxx> wrote in message
news:VA.0000112a.38fb6f12@xxxxxxxxxx


I don't know why that website would 'Null' in Word VBA examples;

I skimmed through it very quickly, and only saw it used as a way
to reset (void) all the control's values in the form. Technically
incorrect, of course, but it appears to work in that context. VBA
can be very forgiving, at times - looks like it's automatically
converting "Null" to whichever "empty" value the particular
control expects.


Null is also a keyword to indicate that a Variant variable contains no valid
data


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup


.



Relevant Pages