Solved

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

Posted on 2014-02-21
4
233 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
[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
  • 2
4 Comments
 
LVL 51

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 51

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone 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

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

718 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