Solved

Personal.xlsb - References in VBA for Excel 2010

Posted on 2013-06-10
3
1,584 Views
Last Modified: 2013-06-29
Hello,
I want to use my functions in all my Excel workbooks, but I don't want to have to type PERONAL.XLSB! in front of the function name every time.
I thought that i hcould permanently add my personal.xlsb vba project as a reference (In Tools -> References) and that my functions would become available just using their vba name (se attached).
Am I wrong about this ? ie: Do I need to create an add-in ?
Any help would be appreciated  - in the attached screen shots I have an example of my personal .xlsb (I have changed the project name to be CS_Project - this is the library of functions I would like to add to the references dialog box, also attached).
I hope this makes sense - I'm looking forward to any replies as this is driving me a bit mad now !!

Best regards,

Craig
Project name exampleTools -> References
0
Comment
Question by:slobber72
3 Comments
 
LVL 39

Assisted Solution

by:nutsch
nutsch earned 250 total points
ID: 39236295
For functions to work without the workbook name, you'll have to put them in an add-in that's not your personal.xlsb.

Little setup time, but once setup not much maintenance issue.

This tutorial has got it all described: http://fontstuff.com/vba/vbatut03.htm

Thomas
0
 
LVL 21

Accepted Solution

by:
Boyd (HiTechCoach) Trimmell, Microsoft Access MVP earned 250 total points
ID: 39236303
0
 

Author Closing Comment

by:slobber72
ID: 39287629
Sorry for the delay - I was able to find what I needed from these references.

My main issue - I was trying to reference a project to itself.  DOH!

Using the addins will be a good future solution for me though.

Thanks again for the time spent looking at this for me.

Craig
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

Question has a verified solution.

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

PaperPort has a feature called the "Send To Bar". It provides a convenient, drag-and-drop interface for using other installed software, such as Microsoft Office. However, this article shows that the latest Office 2016 apps (installed with an Office …
My experience with Windows 10 over a one year period and suggestions for smooth operation
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

820 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