View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
geepeeone geepeeone is offline
external usenet poster
 
Posts: 3
Default Printing a Page Automatically When All Cells are Filled

It's from a formula that spits out a no value "" , i.e.,
IF(B20<B21,B20-B21,"")

The formula basically is an error checking for ranges (B20:B53, E:20:E53,
H20:H51), so that the user if notified of any discrepancy whenever there is a
value on these cells (C20:C52, F20:F52, I20:I50).

Let me attache the workbook itself.



"Barb Reinhardt" wrote:

What you probably need is a worksheet change event. Are there specific
cells that you enter that cause the values to be equal to " "? If so, it
would be useful to know which ones they are.

"Gerard Sanchez" wrote:

Hi,

'I was wondering if anybody can help me write this in VBA:

IF range (B20:B53, E:20:E53, H20:H51) manually user keypunched values,

AND range (C20:C52, F20:F52, I20:I50) equal to = " " -- calculated by
formula that spits out values only when there are discrepancies with the
manually keypunched values above,

THEN batch02. I have already created macros assigned to user buttons that
prints assigned ranges for each batch. For this case, its batch02 macro.


'Thanks
'Appreciate the help!