Solved

Personal.xlsb

Posted on 2011-09-02
6
342 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 
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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Suggested Solutions

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…
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

734 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