LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Array Maintaining its values after execution

Apologies for starting a new thread, however I could not see a means
of adding to the existing discussion

http://groups.google.com/group/micro...&rnum=1&hl=en#

Unlike the previous poster I wish to retain the values of my arrays
after code execution (in order to repopulate previously captured data
on a user form if the user wishes to change their mind after initial
submission). Running Excel 2003.

However, wherever i declare my array be it globally in a module or
ThisWorkbook it always clears itself after code execution. To be
honest this is the behaviour I expected and I was surprised with Tom
Olgivy's answer that a global variable will retain its value for the
life of the workbook. I was expecting to have to add something extra
to the declaration.

Any help greatly appreciated.

Simon

 
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
Listing unique values, frequency, and maintaining list order integrity Alan[_13_] Excel Worksheet Functions 0 September 7th 11 06:58 PM
search an array for values contained in another array Cheer-Phil-ly Excel Programming 0 April 12th 07 09:44 PM
Maintaining cell 'variable' values even after the the macro has en tomwashere2 Excel Programming 1 August 18th 05 11:44 PM
Maintaining VBA variable values Adam1 Chicago Excel Discussion (Misc queries) 3 March 14th 05 11:08 PM
Automatic Macro Execution Upon Cell Values Changing Brian Excel Programming 3 November 11th 04 04:30 PM


All times are GMT +1. The time now is 06:48 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"