+ Reply to Thread
Results 1 to 4 of 4

VBA To Deliver Object List?

  1. #1
    (PeteCresswell)
    Guest

    VBA To Deliver Object List?

    Can I write a single VBA loop to enumerate all objects within an Excel .XLS?

    Or do I have to know the object types/container names and enumerate the contents
    of each?
    --
    PeteCresswell

  2. #2
    Gary''s Student
    Guest

    RE: VBA To Deliver Object List?

    see:

    http://www.microsoft.com/communities...9-2305acd4d167
    --
    Gary's Student


    "(PeteCresswell)" wrote:

    > Can I write a single VBA loop to enumerate all objects within an Excel .XLS?
    >
    > Or do I have to know the object types/container names and enumerate the contents
    > of each?
    > --
    > PeteCresswell
    >


  3. #3
    (PeteCresswell)
    Guest

    Re: VBA To Deliver Object List?

    Per Gary''s Student:
    >http://www.microsoft.com/communities...9-2305acd4d167
    >--


    Seems like the object browser seems lists all available objects whether in use
    or not - as opposed to the objects that actually are in use in the .XLS.

    Have I got it right?

    I'm trying to figure out how the author of a certain .XLS is managing to store a
    half-million rows of data. The obvious way would be to have multiple invisible
    sheets - but I cannot figure out how to browse for them.
    --
    PeteCresswell

  4. #4
    Forum Contributor
    Join Date
    08-07-2004
    Location
    Ohio, USA
    Posts
    114
    If the worksheets are hidden you can try to look at the VBE's project explorer to see a list of all of the worksheets used hidden or not.

    If they are there, you can use the command
    worksheets(worksheetname).visible = true (repeat for each hidden sheet)

    in a macro you could use

    Please Login or Register  to view this content.
    to unhide all of the sheets

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1