Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-19-2015, 09:46 PM
macropod's Avatar
macropod macropod is offline Counting Graphics Windows 7 64bit Counting Graphics Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default


You could use a macro like:
Code:
Sub CountObjects()
Dim Rng As Range, i As Long, j As Long
With ActiveDocument
  For Each Rng In .StoryRanges
    On Error Resume Next
    With Rng
      i = i + .InlineShapes.Count
      j = j + .ShapeRange.Count
    End With
  Next Rng
  MsgBox "The active document contains:" & vbCr & _
    i & " inline shapes & " & j & " floating shapes."
End With
End Sub
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Counting Pics mohsen.amiri Word 2 04-19-2015 08:52 PM
Counting unique visitors by ward, counting monthly visits by status, editing existing workbook JaxV Excel 9 11-14-2014 12:25 AM
Counting Graphics various data needs counting apples Excel 2 09-16-2012 04:52 AM
Counting Graphics Counting Colors g48dd Excel 2 03-13-2011 09:28 PM
Counting Graphics Counting Weeks leroytrolley Excel 1 08-18-2008 11:12 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:01 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft