+ Reply to Thread
Results 1 to 9 of 9

Check and install Morefunc automatically

  1. #1
    Registered User
    Join Date
    02-12-2010
    Location
    Sweden
    MS-Off Ver
    Excel 2003
    Posts
    4

    Check and install Morefunc automatically

    Hi!
    Iv'e made a worksheet that uses INDIRECT.EXT from Morefunc.
    I'm going to give this worksheet to a bunch of people and the problem is that they will - in most cases - not have morefunc.
    It would be nice to have the worksheet to automaticly check if Morefunc is installed and popup a text to install it if it's not installed or, even better, begin to install it automaticly if it's not installed.

    That's your thoughts about this?
    Is this possible?
    Or do you have better idea?
    And yes, I want to use INDIRECT.EXT even though it makes trouble for the users.
    Right now I've written a text in the beginning that explains that Morefunc have to be intsalled, but it just doesn't feel right.

  2. #2
    Valued Forum Contributor
    Join Date
    06-16-2006
    Location
    Sydney, Australia
    MS-Off Ver
    2013 64bit
    Posts
    1,394

    Re: Check and install Morefunc automaticly

    One thing you could try, is to call the function from VBA when the workbook opens, and if there is an error, pop your message.

    I don't have morefuc, so I can't test if this works if you DO have morefuc. It works if you DONT have morefunc. But of course you need both to make this useful

    You need to paste the code on the workbook module page

    Please Login or Register  to view this content.
    If it still launches the website when you do have morefunc, you will need to adjust the line of code Application.WorksheetFunction.indirect.ext
    so that id doesn't throw an error. I would have tested this, but the website that downloads morefunc doesn't seem to be working atm

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Check and install Morefunc automatically

    I've heard that you can embed MoreFunc in a workbook, so that it does not require installation by each user.
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Registered User
    Join Date
    02-12-2010
    Location
    Sweden
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Check and install Morefunc automatically

    Quote Originally Posted by shg View Post
    I've heard that you can embed MoreFunc in a workbook, so that it does not require installation by each user.
    I've heard that too, and that would certainly be the nicest sulotion.
    But I think that that's just a rumour 'cause I haven't seen a sulotion to this anyhere.
    But if there's someone sitting on this info... this is the place to release it...

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Check and install Morefunc automatically

    You can embed morefunc.xll into a workbook assuming you are running an XL version pre XL2007 thereafter the functionality ceases (at present, AFAIK).

    To embed pre XL2007: Tools>Morefunc>Embed Morefunc in the workbook

  6. #6
    Registered User
    Join Date
    02-12-2010
    Location
    Sweden
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Check and install Morefunc automaticly

    Fanx Mallycat!
    But I can't really get it to work.
    I've never used VBA before so maybe I'm doing it wrong.
    I opened a new workbook and selected Tools/Macro/Visual Basic Editor.
    Then I right-clicked on Page1 and selected Insert/Module.
    In the Module1 I pasted the script you gave me and saved it all.
    (Sorry if the menus and other stuff isn't correct english, 'cause I'm translating from swedish)
    See http://danielh.com/test.jpg
    When I open the workbook I got no promt. So far so good. But I also open it on a computer with Excel that has NOT got Morefunc installed. And .... no promt here either. So I don't think I got it right.

  7. #7
    Registered User
    Join Date
    02-12-2010
    Location
    Sweden
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Check and install Morefunc automatically

    Quote Originally Posted by DonkeyOte View Post
    You can embed morefunc.xll into a workbook assuming you are running an XL version pre XL2007 thereafter the functionality ceases (at present, AFAIK).

    To embed pre XL2007: Tools>Morefunc>Embed Morefunc in the workbook
    Does this mean that I can embed it with a Excel 2003 and open it correcly with a Excel 2007? Or will do I have to open it with Excel 2003 as well. If that's the case, this would not help because the users I spread it to will in many cases have Excel newer than 2003.

  8. #8
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Check and install Morefunc automatically

    http://download.cnet.com/Morefunc/30...-10423159.html
    From Laurent Longre :
    Version 5 adds compatibility with Excel 2007.
    ah i see what you mean DO try as i might i cant find the option to embed!
    Last edited by martindwilson; 02-13-2010 at 07:01 AM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  9. #9
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Check and install Morefunc automatically

    I have v5 installed but I don't think the 2007 compatibility extends to embedding feature.

    There is info in the Help Files regards processes for embedding via code etc...

    If in doubt, test.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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