+ Reply to Thread
Results 1 to 2 of 2

Memory size of an object like array

  1. #1
    Forum Contributor
    Join Date
    02-05-2015
    Location
    czech
    MS-Off Ver
    2010
    Posts
    172

    Memory size of an object like array

    Dear excel Help,

    For optimization of speed vs memory size I would like to have function which measures allocated memory of an object.
    I don't know if I remember correctly. I think it is possible. Maybe through declare statement.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Memory size of an object like array

    See the help on the Len function.

    "Returns a Long containing the number of characters in a string or the number of bytes required to store a variable."

    There is also LBound and UBound to get the dimension of an array
    Cheers
    Andy
    www.andypope.info

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Thrashing VBA Memory Leaks. Memory Loop Problems. Uncleared Memory in .Match Range Object
    By Doc.AElstein in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-10-2017, 05:17 PM
  2. [SOLVED] Array Formulas Limitatins - Could be PC memory size problem
    By Spiros in forum Excel General
    Replies: 17
    Last Post: 08-09-2016, 03:15 PM
  3. Replies: 0
    Last Post: 06-19-2014, 02:09 PM
  4. Excel Memory Use & File Size
    By Philb1 in forum Excel General
    Replies: 19
    Last Post: 11-02-2011, 05:20 PM
  5. [SOLVED] Memory and File Size
    By Jim May in forum Excel General
    Replies: 4
    Last Post: 06-28-2006, 02:50 PM
  6. [SOLVED] Display size of dataset in memory
    By MissScarlet in forum Excel General
    Replies: 0
    Last Post: 04-16-2006, 09:55 AM
  7. [SOLVED] Displaying the size of the dataset currently in memory
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-16-2006, 09:50 AM

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