+ Reply to Thread
Results 1 to 4 of 4

file.xlam' is not a valid add-in

  1. #1
    Registered User
    Join Date
    10-10-2013
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2010
    Posts
    50

    file.xlam' is not a valid add-in

    Hi,

    I'm trying to remember. I had originally created this add in and loaded in excel (2007) before, but now when I try to point to the file, I get the above message box. The file has two forms, and one exposed (public) subroutine in a module. I can no longer see it in my add-ins when I try to see them.

    Not sure what I screwed up, but I need to fix this and pretty fast.

    Help!

    Thanks,

    Steve

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Re: file.xlam' is not a valid add-in

    Good morning steven_b46

    Try going into the VBE and look under the ThisWorkbook object of the file in question, there should be a property listed called IsAddin. This needs to be set to True.
    If this doesn't work you might want to upload the file.

    HTH

    DominicB

  3. #3
    Registered User
    Join Date
    10-10-2013
    Location
    Phoenix, AZ
    MS-Off Ver
    Excel 2010
    Posts
    50

    Re: file.xlam' is not a valid add-in

    Thanks dominicb!

    I had did that, but the xlam has no sheets. I rebuilt the xlam, by creating a new one, copying over forms and recreating the module, I made sure I said yes to the isAddin property.

    Doesn't really make sense to me, but hey it works.

  4. #4
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Re: file.xlam' is not a valid add-in

    Hi steven_b46

    It will have had sheets - you can't have a workbook without sheets - addin or not.
    Setting the IsAddin property just allows you to open the file without showing the sheet. You can even reference data in the sheet from the addin itself - that's a cheeky trick that not many people know

    Glad you got sorted.

    DominicB

+ 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. [SOLVED] Editing worksheets in a .xlam file
    By ImperatorAtticus in forum Excel General
    Replies: 7
    Last Post: 02-12-2016, 04:29 PM
  2. [SOLVED] How does one activate ribbon components from an xlam file ?
    By dschmitt in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-20-2015, 10:06 PM
  3. [SOLVED] XLAM file add-in
    By ammartino44 in forum Excel General
    Replies: 4
    Last Post: 01-15-2015, 02:03 PM
  4. [SOLVED] Excel 2007-Customize the Ribbon using a xlam file instead of a xlsm file.
    By oteixeira in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-15-2013, 12:31 PM
  5. How to edit a hidden worksheet in .xlam file
    By dharanikumar.k in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-20-2012, 12:19 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