smartglass
IS-IT--Management
Hi There:
I have written a macro that faxes to our customers a daily report of orders. Naturally, not all customers place orders every day.
I am trying to write an "If..else" statement that says that if the report returns no data (I mean nothing at all..not even customer name) then pass over this customer and run the report for the next customer. However Null, Empty, and missing statements all stop the macro at the point where I call "ImpRep.GetDataValue(1,1)".
Could somebody please advise as to how I can generate a macro that passes over a report that generates absolutely no data?
Thanks in anticipation!
I have written a macro that faxes to our customers a daily report of orders. Naturally, not all customers place orders every day.
I am trying to write an "If..else" statement that says that if the report returns no data (I mean nothing at all..not even customer name) then pass over this customer and run the report for the next customer. However Null, Empty, and missing statements all stop the macro at the point where I call "ImpRep.GetDataValue(1,1)".
Could somebody please advise as to how I can generate a macro that passes over a report that generates absolutely no data?
Thanks in anticipation!