Solved

Personal.xlsb

Posted on 2011-09-02
6
339 Views
Last Modified: 2012-05-12
Hi there

Hopefully a fairly simple question.  How do I access formulae in my personal.xlsb from another worksheet without having to prefix the formula in the cell with personal.xlsb! ?  I am using Excel 2007.

Ideally the formulae in this sheet should appear in the autocomplete list when I start typing formulae.

Thanks
0
Comment
Question by:mkalmek
  • 3
  • 2
6 Comments
 
LVL 92

Accepted Solution

by:
Patrick Matthews earned 500 total points
ID: 36473306
I assume you mean "functions" and not "formulae".

In that case, you need to put the functions in an add-in file, rather than your personal macro workbook.

Some resources for creating add-ins:

http://msdn.microsoft.com/en-us/library/aa140936(v=office.10).aspx
http://www.ozgrid.com/VBA/excel-add-in-create.htm
http://www.cpearson.com/excel/CreateAddIn.aspx

Please note that if you put these functions in an add-in and then refer to them in your workbooks, if you send that workbook to a person who does not also have the add-in then that person will get #NAME errors because Excel will be unable to resolve the functions.
0
 
LVL 17

Expert Comment

by:andrewssd3
ID: 36473325
I don't think what you ask is possible - Excel needs to prefix references to UDFs with their file location so that it knows where to find them (surprise!).  Only those functions that are in the current workbook don't get prefixed.  Similarly you do have to select UDFs from the User-defined list in the function wizard as they don't appear in the auto-complete lists.

0
 
LVL 92

Expert Comment

by:Patrick Matthews
ID: 36473420
andrewssd3,

>>Only those functions that are in the current workbook don't get prefixed

That is not correct.  Functions in an add-in do not have to be prefixed.  That is one of the attractions of using add-ins.

Patrick
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
LVL 17

Expert Comment

by:andrewssd3
ID: 36473479
matthewspatrick,

Agreed - sorry I wasn't thinking about add-ins and should have put in a caveat
0
 

Author Comment

by:mkalmek
ID: 36484140
Thanks for the help on using an add-in rather than personal.xlsb.

The function (not formulae :) ) names still do not pop up in the autocomplete when I start typing in a cell in my workbook.  Can I get them to do so?
0
 
LVL 92

Expert Comment

by:Patrick Matthews
ID: 36485404
Excel 2007 does not have that feature; that version will only auto-complete native functions.

Excel 2010 will auto-complete function names from an add-in, although the full IntelliSense is not available (thus unlike native functions, you will not get hints for the various function arguments).

What you can do, is if you are in the function wizard, switch the category to user defined, and that will list your various available UDFs.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question