Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Personal.xlsb - References in VBA for Excel 2010

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
New style of hardware planning for Microsoft Exchange server.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
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…

721 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