![]() |
|
#1
|
|||
|
|||
![]()
Hi CoolBlue
Sorry, it took me longer as I told in the PM. Now, that seems to become a fulltime job - I'm not sure if I can summon up that time. I studied your pic now for quite a while and wonder how serious you're about the reference of rawSheets(1).Range("A1") and rawSheet1.Range("A1") Be aware that though basically it's the same object, the references or pointers may differ. Sheets(1) is an object of a spreadsheet relative to its position in the workbook whereas Sheet1 is a - you may say - static object within a workbook. I don't know if it is the right thing to put it, but to explain it more visually: For Sheets(1): Is assigned a pointer, which itself points to the object Sheet1. To say there are 2 pointers necessary. Sheet1 instead, as it is the end of the line of objects, only needs 1 pointer. So don't get confused, if the two cases show different pointers. Quote:
I think the key would be to know about the structure of an object. Unfortunately the CombSite stops before he comes to this. On purpose? I can imagine, that the structure is quite difficult. Probably even containing references to various pointers, which all together only forming an object? Quote:
I rather imagine memory like a town, there are districts (which get assigned to a program as excel), within the district there are streets containing numbers (pointers) which hold the references. An inhabitant (value/object/whatsoever) either lives their (during runtime) or get moved out (by the garbage collector, or by setting it to nothing in case of objects) ![]() That would lead us back to us establishing: A pointer (varPtr) contaning any other information as during runtime, allows the conclusion that references got destroyed and memory is freed. |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wierd "script code" in a downloaded .doc file | CNBarnes | Word | 2 | 10-18-2012 02:07 AM |
![]() |
krishnaoptif | Word VBA | 9 | 06-22-2012 05:08 AM |
![]() |
Jamal NUMAN | Word | 2 | 07-03-2011 03:11 AM |
Rules and Alerts: "run a script"? | discountvc | Outlook | 0 | 06-15-2010 07:36 AM |
An "error has occurred in the script on this page" | decann | Outlook | 8 | 09-03-2009 08:54 AM |