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

I have an Excel Add-in that has been around since Office 97. We have
recently made a lot of changes and we want to easily identify the
"version" of the add-in that the customer is using. The only way I know
to do this is to maintain it manually in the code by creating a
constant and updating the value each time we update the add-in. In
addtion to this I add a custom property to each sheet identifying the
version the spreadsheet was created with. We then could add a way for
the customer to identify the version they are running when they contact
us for support.

I am wondering if there is a better way to do this? Is there a way you
can version an .xla file?

Thanks for any input...pmax

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Best way to identify the "version" of your Add-in code?

A lot of people use a "Help|about" button/menuitem for that kind of thing. It
makes it easy to ask the remote user to click on it and read the results.



pmax wrote:

I have an Excel Add-in that has been around since Office 97. We have
recently made a lot of changes and we want to easily identify the
"version" of the add-in that the customer is using. The only way I know
to do this is to maintain it manually in the code by creating a
constant and updating the value each time we update the add-in. In
addtion to this I add a custom property to each sheet identifying the
version the spreadsheet was created with. We then could add a way for
the customer to identify the version they are running when they contact
us for support.

I am wondering if there is a better way to do this? Is there a way you
can version an .xla file?

Thanks for any input...pmax


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default Best way to identify the "version" of your Add-in code?


use the comments field as this will show up at the bottom
in the addin dialog.

can be edited when isaddin=false via file properties dialog
or in code via workbook.comments

(it can ALSO be set via explorer/ file properties)

--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


pmax wrote :

I have an Excel Add-in that has been around since Office 97. We have
recently made a lot of changes and we want to easily identify the
"version" of the add-in that the customer is using. The only way I
know to do this is to maintain it manually in the code by creating a
constant and updating the value each time we update the add-in. In
addtion to this I add a custom property to each sheet identifying the
version the spreadsheet was created with. We then could add a way for
the customer to identify the version they are running when they
contact us for support.

I am wondering if there is a better way to do this? Is there a way you
can version an .xla file?

Thanks for any input...pmax

  #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
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
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 07:48 AM.

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"