Solved

How do I make macros available to all my current excell files and future files.

Posted on 2014-02-21
4
226 Views
Last Modified: 2014-02-22
The attached file has 3 macros that  work very well and I would like to use them in all my current Excell files. Also, would like to have them available for future Excell files that I will create.

Based on my review of Help info, I have opened the Personal.xlsb file, which currently has no entries. My understanding is that the macros should be in the personal.xlsb file for me to have total access????

Please advise how to proceed.

Thanx     Tom
SPACINGEX.xlsx
0
Comment
Question by:radrick60
  • 2
4 Comments
 
LVL 49

Expert Comment

by:Rgonzo1971
ID: 39876701
Hi,

Depending on your version the file should be in the start up Folder

C:\Documents and Settings\User_name\Application Data\Microsoft\Excel\XLSTART

In this path, User_name is your logon user name.

Then open the file Click Alt+F11 and copy your macros in a module

Regards
0
 
LVL 7

Expert Comment

by:Steve
ID: 39876746
If you have never used it. It may be easier to open Excel.
Use Alt+F11 to open the VB editor.
If you see your personal workbook,
Right click on it and insert a module.
That will leave the module open for you to paste into.

If you don't see your personal workbook,
Record a simple macro and it will ask where you want to save it
with your personal workbook as an option.
0
 

Author Comment

by:radrick60
ID: 39876808
Sorry, but neither explainations seem to apply.
Lets try to make it simple .... am a low tech guy

I am using Excell 2013

I opened the file spacingex.xlxs

I pressed ALT-F11 ... and the visual basic for applications - spacingex.xlsx is displayed

I didnt "see" a personal worksheet.

As mentioned in my writup, I have personal.xlsb file opened already

Question: If I copy all the vba code for the 3 macros in the personal.xlsb file, will that accomplish my needs?

THanx    Tom
0
 
LVL 49

Accepted Solution

by:
Rgonzo1971 earned 500 total points
ID: 39876851
Exactly.

Copy the code to the personal file

If the personal.xlsb  is in the startup folder it will open automatically when you start Excel and the the macros will be avaiable

Regards
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Drop Down List with Unique/Distinct Values (enhancing the Combo-Box with a few steps and a little code) David miller (dlmille) Intro Have you ever created a data validation list from a database field or spreadsheet column (e.g., Zip Codes or Co…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
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.

929 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now