+ Reply to Thread
Results 1 to 5 of 5

Add-In and Save Dialog-Box

  1. #1
    Forum Contributor
    Join Date
    10-04-2004
    MS-Off Ver
    2013
    Posts
    148

    Add-In and Save Dialog-Box

    Hi!

    I'm building my first Add-In, which I'm using to gather all Sub's that I've created through my small VBA writting career.

    The thing is that when I write new code and some reason exit Excel and forget to save the XLA, obviously the code is lost.

    I've used:
    Please Login or Register  to view this content.
    but obviously, if I write garbagge or delete precious code, all is lost.

    Is there a way for Excel to ask me if I want to save the XLA file, like it does when changes are made to a common worksheet?

    I've tried the Save Dialogs but they all ask for new file name. I just want a simple "do you wish to save blabla.xla?" question...

    Thank you!
    Last edited by pmguerra; 10-21-2008 at 09:14 AM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    You can save the .xla from the VB Editor when you make changes.

    It's really best to do all the VBA work before converting to an addin, however to update the addin it's best to go into the addin's properties in the VB Editor and change IsAddin to False , make the changes then change back to true after saving
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,457
    You could try this,
    Please Login or Register  to view this content.
    Cheers
    Andy
    www.andypope.info

  4. #4
    Registered User
    Join Date
    10-07-2008
    Location
    Wessex
    Posts
    55
    I tend to develop my XLAs as an XLS. This gives me much more flexibility when developing, I can see what is in the addin sheets etc. When it is ready to test, I just save as an XLA as well as XLS.

  5. #5
    Forum Contributor
    Join Date
    10-04-2004
    MS-Off Ver
    2013
    Posts
    148
    Thank you guys!

    I'll try out your suggestions!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Eliminating Save Dialog but still Saving Excel File
    By uzymedphys in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-06-2008, 01:10 PM
  2. Two Macros - Save Dialog appears in only one?!
    By jamesryan in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-06-2008, 08:52 AM
  3. Copy 5 sheets to new workbook with dialog form where to save
    By Josh_123456 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-24-2008, 09:11 AM
  4. Save prompt with csv files
    By mcicoff in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-23-2007, 02:42 PM
  5. Save As dialog box
    By marktheman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-20-2007, 12:56 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1