LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.programming
GS GS is offline
external usenet poster
 
Posts: 364
Default Best way to identify the "version" of your Add-in code?

Hi pmax,

There's probably a lot of different ways to handle this issue, but it really
boils down to personal preference as to what works best, by scenario.
Tracking this properly is the key. Here's some suggestions:

1. You can use the SaveSetting & GetSetting VBA functions to store the info
in the Registry. This allows you to update the info in the registry when your
add-in starts, or read the current info to test running version against
previous running version. See VBA Help for how to use these functions.

2. You can do something similar to the above using an .INI type text file
instead of using the registry. This requires custom functions and a small
number of API function declarations. -Not as easy as suggestion #1.

3. You could identify your .xla file by including the "version" in the
filename, possibly. Example: myaddin_1.1.1.xla where a "major.minor.build"
series is used to identify it. Most usually use something like
"myaddin1.0.xla". (The simpler, the better)

4. As suggested elsewhere in this thread, use an "About" form to display
the info to your user. It would also help you with user support by including
a control to display the user's OS and Excel version. The number of features
you could include with this form are not limited. Check out other software
"About" dialogs to get some ideas.

Good luck,
GS
 
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
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
"Identify Label" bug when using INDEX/MATCH and VLOOKUP formulas Exceller Excel Worksheet Functions 0 May 2nd 08 09:28 PM
Identify when a user attempts to turn on "Allow cell drag and drop" Alan Excel Programming 9 November 21st 04 09:09 PM
Can you "duplicate" "copy" listboxes and code to multiple cells? HotRod Excel Programming 1 September 1st 04 05:03 PM
Looking for VB code to test for "RING" , "BUSY" disconnects or other signals BruceJ[_2_] Excel Programming 3 November 20th 03 01:55 AM


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