Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
MD MD is offline
external usenet poster
 
Posts: 9
Default Print if there is a picture

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


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Print if there is a picture

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.
--
Regards,
Tom Ogilvy


"MD" wrote in message
. ..
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




  #3   Report Post  
Posted to microsoft.public.excel.programming
MD MD is offline
external usenet poster
 
Posts: 9
Default Print if there is a picture

that's it.... thanks Tom



"Tom Ogilvy" wrote in message
...
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.
--
Regards,
Tom Ogilvy


"MD" wrote in message
. ..
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






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
can you use VLOOKUP TO PRINT A PICTURE Russell-stanely Excel Discussion (Misc queries) 4 July 25th 07 11:41 PM
Print Hyplink Picture Lloyd Excel Worksheet Functions 1 March 12th 07 05:59 AM
picture distorted after print phephe Excel Discussion (Misc queries) 0 January 13th 07 05:00 AM
I can print my Header Picture!! =( Luisa Excel Discussion (Misc queries) 0 July 18th 06 02:03 PM
Print Picture in Excel Zacky Excel Discussion (Misc queries) 0 June 5th 06 12:40 PM


All times are GMT +1. The time now is 02:33 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"