Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Personal.xlsb - References in VBA for Excel 2010

Posted on 2013-06-10
3
Medium Priority
?
1,762 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 750 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 750 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

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

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

Outlook for dependable use in a very small business   This article is about using the Outlook application (part of Microsoft Office) in a very small business, or for homeowners where dependability and reliability are critical requirements. This …
Windows Explorer let you handle zip folders nearly as any other folder: Copy, move, change, and delete, etc. In VBA you can also handle normal files and folders, but zip folders takes a little more - and that you'll find here.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
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.

916 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