Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default New UsedObjects Property in Excel XP

I've been looking at this object in Excel 2003, which I believe was
introduced in Excel XP. The MS documentation is scant, to say the least:
"Returns a UsedObjects object representing objects allocated in a workbook."

It then gives an example of its use:

Sub CountUsedObjects()

MsgBox "The number of used objects in this application is: " & _
Application.UsedObjects.Count

End Sub


If you run the above sub in a new, blank, 3-worksheet workbook, the count
property returns 7.

Has anyone deciphered exactly what this object does/means/can be usefully
used for?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 103
Default New UsedObjects Property in Excel XP

try a
DIM oThisObject as Object
For Each oThisObject In Application.UsedObjects
and take a look at oThisObject in the locals or watch window.


--
Patrick Molloy
Microsoft Excel MVP
---------------------------------
"Ian Ripsher" wrote in message
...
I've been looking at this object in Excel 2003, which I believe was
introduced in Excel XP. The MS documentation is scant, to say the least:
"Returns a UsedObjects object representing objects allocated in a

workbook."

It then gives an example of its use:

Sub CountUsedObjects()

MsgBox "The number of used objects in this application is: " & _
Application.UsedObjects.Count

End Sub


If you run the above sub in a new, blank, 3-worksheet workbook, the count
property returns 7.

Has anyone deciphered exactly what this object does/means/can be usefully
used for?




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
Intellectual Property of an excel document Bart Excel Discussion (Misc queries) 2 April 8th 09 09:53 AM
Excel property management template GeoC Excel Discussion (Misc queries) 0 May 12th 07 05:30 AM
i need an excel template for property management hayhow1 Excel Discussion (Misc queries) 0 February 1st 07 01:42 PM
I need a Excel template for property management Bob Excel Discussion (Misc queries) 1 December 29th 04 02:06 PM
Re : MS Excel’s Offset Property TKT-Tang Excel Programming 2 July 10th 03 03:57 AM


All times are GMT +1. The time now is 07:24 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"