View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Alec H[_2_] Alec H[_2_] is offline
external usenet poster
 
Posts: 1
Default If...Then...query


Hi,

Extremely simple one for a Thursday....

I have a line of code that currently reads;



Code:
--------------------


If ("C28") = Blank Then Goto JUMP


--------------------


I want to change it so that it prints a document if the field is NOT
blank. I think it should be something like this...



Code:
--------------------


If ("C28") = NotBlank Then objWord.Application.PrintOut


--------------------


Obviously I have tried the above with no success...

Thanks


--
Alec H
------------------------------------------------------------------------
Alec H's Profile: http://www.excelforum.com/member.php...o&userid=31042
View this thread: http://www.excelforum.com/showthread...hreadid=518204