Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Store variables between XLA sessions

Hi,

could you please tell me if it is possible to save parameters into th
XLA add-in itself, by a macro that is in that XLA?

What I'm looking for is to store some preference settings in such wa
that they are there the next time Exel and the XLA is opened and als
that they move with the XLA when the add-in is copied to anothe
machine.

I know how to write variables to a disk file but I would not want t
use that.

Thank you,
Tim

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 535
Default Store variables between XLA sessions

Hi Timo,

could you please tell me if it is possible to save parameters into the
XLA add-in itself, by a macro that is in that XLA?

What I'm looking for is to store some preference settings in such way
that they are there the next time Exel and the XLA is opened and also
that they move with the XLA when the add-in is copied to another
machine.


An addin can have worksheets, just as any normal workbook. So you can
write your values to worksheet cells inside the addin, then save the
addin. IN a later session you can retrieve those settings.

Regards,

Jan Karel Pieterse
Excel MVP
www.jkp-ads.com

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Store variables between XLA sessions

Jan,

thank you very much! I've never realized that they are still there.

It seems that one can not anymore actually see the worksheet (like i
is seen in XLS) after saving the workbook as XLA so adding names et
must all be done using code.

Addressing the names on the worksheet in an XLA seem not the same (a
with XLS), I need to add the sheet name lik
myStore=ThisWorkbook.Sheets("Sheet1") .myStore.Value

BR,
Tim

--
Message posted from http://www.ExcelForum.com

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
Multiple excel sessions rita Excel Discussion (Misc queries) 2 June 30th 09 07:37 AM
Excel Trainig Sessions H3L3NB4CH New Users to Excel 0 July 19th 08 08:42 AM
where do i find the 10 free sessions Natalie New Users to Excel 1 October 12th 06 01:24 AM
store inventory sheet(ex:sports equipment store) vardan Excel Worksheet Functions 1 October 11th 06 12:51 AM
Single Sessions StephanieH Setting up and Configuration of Excel 3 October 3rd 06 08:02 PM


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