Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default How to sum the number of pictures in a column?

Dear all,

Do you know how to sum the number of pictures in a same
column?

Thanks and Regards,
Connie
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default How to sum the number of pictures in a column?


This does PICTURES only, not other shapes.
remove comment on volatility if needed

Function NumPicsInRange(rngToSearch As Range)
'application.volatile
Dim n&, pic
For Each pic In ActiveSheet.Pictures
If Not Intersect(rngToSearch, pic.TopLeftCell) Is Nothing Then n = n + 1
Next
NumPicsInRange = n
End Function


keepITcool

< email : keepitcool chello nl (with @ and .)
< homepage: http://members.chello.nl/keepitcool


"Connie" wrote:

Dear all,

Do you know how to sum the number of pictures in a same
column?

Thanks and Regards,
Connie


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
How do you export pictures from my pictures file into a word docu Becky New Users to Excel 1 November 20th 09 07:02 PM
what are the limits for number of pictures in a spreadsheet Dale Excel Discussion (Misc queries) 0 February 26th 09 01:29 PM
Storing Clip Art pictures in My Pictures folder jfg Excel Discussion (Misc queries) 4 August 10th 07 06:12 AM
Displaying large number of pictures in EXCEL [email protected] Excel Discussion (Misc queries) 1 June 8th 07 01:09 PM
Excel's Compress Pictures or deleting pictures doesn't seem work guidod Excel Discussion (Misc queries) 1 January 29th 06 06:51 AM


All times are GMT +1. The time now is 03:34 PM.

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

About Us

"It's about Microsoft Excel"