Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Save addin in runtime


Hi,

Since addin is not a workbook, then save buttom is inactive.
Can I save the addin again?


--
gabch
------------------------------------------------------------------------
gabch's Profile: http://www.excelforum.com/member.php...o&userid=30662
View this thread: http://www.excelforum.com/showthread...hreadid=540518

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default Save addin in runtime

At run time you could save by adding some code to execute

Thisworkbook.Save

Otherwise you can manually save by hitting the save button in the VBE
--
HTH...

Jim Thomlinson


"gabch" wrote:


Hi,

Since addin is not a workbook, then save buttom is inactive.
Can I save the addin again?


--
gabch
------------------------------------------------------------------------
gabch's Profile: http://www.excelforum.com/member.php...o&userid=30662
View this thread: http://www.excelforum.com/showthread...hreadid=540518


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 59
Default Save addin in runtime

Sorry to contradict you, but to me an addin IS very very similar to a
workbook, I mean it must contain at least one worksheet and especially can
contain data: this data can be changed at runtime (through userforms for
example), and if you need to find back that data in a further session then
you need to save the addin, programatically. (Beware, if Excel is not
instructed to save the addin, then Excel won't warn the user that some
unsaved data will be lost on quitting!).

Also because an addin is quite like an hidden workbook, simultaneous write
access won't work (never tried to make an addin from a shared workbook
though). Use Access if you need to achieve that.
--
Stefano Gatto


"Jim Thomlinson" wrote:

At run time you could save by adding some code to execute

Thisworkbook.Save

Otherwise you can manually save by hitting the save button in the VBE
--
HTH...

Jim Thomlinson


"gabch" wrote:


Hi,

Since addin is not a workbook, then save buttom is inactive.
Can I save the addin again?


--
gabch
------------------------------------------------------------------------
gabch's Profile: http://www.excelforum.com/member.php...o&userid=30662
View this thread: http://www.excelforum.com/showthread...hreadid=540518


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
Set addin reference at runtime. MattShoreson[_105_] Excel Programming 1 May 8th 06 01:02 PM
runtime 1004 on save as RANDY IN NC[_5_] Excel Programming 6 February 6th 06 10:40 PM
Before Save w Addin tjh Excel Programming 10 November 16th 05 11:39 PM
Save & Install AddIn with VBA Matt Excel Programming 1 September 23rd 04 03:40 PM
save file as addin programatically Bura Tino Excel Programming 1 May 10th 04 06:07 PM


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