Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default variable stored in Excel - read only from VBA

I thought I read that there was a way to store data in an xls file - this data was only readable from within VBA. The data was stored and retrieved via key-value pair.

For example: "totalOpened", 356

I can't find the documentation on this now. Did I imagine this?

Bob Mooney
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default variable stored in Excel - read only from VBA

Sounds like you are talking about a collection or a dictionary object (from
the scripting runtime I believe).

However, neither are stored in a workbook as persistent data.

--
Regards,
Tom Ogilvy

"Robert Mooney" <Robert wrote in message
...
I thought I read that there was a way to store data in an xls file - this

data was only readable from within VBA. The data was stored and retrieved
via key-value pair.

For example: "totalOpened", 356

I can't find the documentation on this now. Did I imagine this?

Bob Mooney



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 94
Default variable stored in Excel - read only from VBA

Bob,

Maybe this is what you were thinking/confusing?

GetSetting
SaveSetting

These functions will get and save key-value pairs to a special VBA section
of the Registry. The information is not stored in an Excel file but can be
retrieved via VBA code.

Troy


"Robert Mooney" <Robert wrote in message
...
I thought I read that there was a way to store data in an xls file - this

data was only readable from within VBA. The data was stored and retrieved
via key-value pair.

For example: "totalOpened", 356

I can't find the documentation on this now. Did I imagine this?

Bob Mooney



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
Can I import SQL Stored Procedures into Excel? Nick Gill Excel Discussion (Misc queries) 0 September 11th 08 11:42 AM
Running sql stored procedures from Excel in-over-his-head-bill Excel Discussion (Misc queries) 0 July 5th 06 06:30 PM
why is it saying sheetcnt is "variable not defined" how to do a global variable to share over multiple functions in vba for excel? Daniel Excel Worksheet Functions 1 July 9th 05 03:05 AM
execute stored procedure from excel maxzsim Excel Worksheet Functions 3 May 11th 05 04:58 PM
Run a stored procedure in Excel 2K ArthurB Excel Programming 0 February 26th 04 04:46 PM


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