Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 857
Default Storing important values: ini file, XML, Registry, where else

That the XLA file generates spreadsheets and that the spreadsheets need to
have different sets of values was unknown before (or at least I missed it).
But anyway, given your description below, all your points are valid. Storing
the values in a hidden sheet is a very simple approach that will not work
well in a scenario such as yours. Personally, I would prefer a file-based
approach in a scenario like this, either XML or INI.

By the way, a sheet has 3 "visibility" values: Visible, Hidden, and Very
Hidden. A "Very Hidden" sheet is visible only through the VBA IDE. A user
wouldn't be able to unhide it.



"syswizard" wrote:

On Mar 8, 8:12 am, Vergel Adriano
wrote:
How about placing them in a hidden sheet in the workbook itself?

That's OK, but what if they unhide the sheet ? Also, consider the fact
that most of the code will be in an XLA file and that multiple XLS
files will be created. WIth your approach, I would need to copy the
hidden sheet every time a new XLS file is created. Finally, what
happens if the first spreadsheet needs to use any changed values which
are in the latest spreadsheet.
Your approach is good if I need versioning of the values; terrible if
I need a central and consistent source of the values.


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
Trying to open a WK4 file - file blocked by registry policy setti John Moss Excel Discussion (Misc queries) 1 December 8th 08 07:46 PM
Setting binary values in Registry? Don Wiss Excel Programming 1 August 17th 06 02:38 AM
Copying and storing values Panagiotis Marantos Excel Programming 0 July 14th 06 02:26 PM
Finding all the values and storing them jhahes[_56_] Excel Programming 4 May 23rd 06 11:38 AM
Storing Values dinesh Excel Discussion (Misc queries) 0 June 10th 05 06:33 AM


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