Print if there is a picture

  • Thread starter Thread starter MD
  • Start date Start date
M

MD

Hi all,

I'd like to know how to code this...

If a range (say a1:z100) has any pictures in it, then print the page else
don't print anything.

Thx for your help

MD
 
If there would only be pictures and they would be in that range if they
exist, then

if activesheet.shapes.count > 0 then
activesheet.printout
End If

If not then you would need to be more specific about what could be where.
 
that's it.... thanks Tom



Tom Ogilvy said:
If there would only be pictures and they would be in that range if they
exist, then

if activesheet.shapes.count > 0 then
activesheet.printout
End If

If not then you would need to be more specific about what could be where.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top