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.
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
If it still launches the website when you do have morefunc, you will need to adjust the line of code Application.WorksheetFunction.indirect.extPrivate Sub Workbook_Open() On Error GoTo myError: Application.WorksheetFunction.indirect.ext GoTo ExitHere: myError: y = MsgBox("Please download morefunc from the web") ActiveWorkbook.FollowHyperlink Address:="http://xcell05.free.fr/morefunc/english/#Download", NewWindow:=True ExitHere: End Sub
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
I've heard that you can embed MoreFunc in a workbook, so that it does not require installation by each user.
Microsoft MVP - Excel
Entia non sunt multiplicanda sine necessitate
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
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
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.
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 06:01 AM.
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and a dabbler in Cisco
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
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.
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks