Solved

Why are my VBA macros being listed by file name in Excel?

Posted on 2015-02-24
2
74 Views
Last Modified: 2016-02-11
After clicking the Run Macros button, I have selected the drop down "This Workbook", and some of the macros are being shown by their name only, and some are being shown with the workbook name appended to the front. Can I get rid of those appendages somehow?
0
Comment
Question by:shampouya
[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 Comments
 
LVL 26

Expert Comment

by:ProfessorJimJam
ID: 40628525
they must have been stored in your personal.xlsx  which is in the XL start up folder.
0
 
LVL 29

Accepted Solution

by:
gowflow earned 500 total points
ID: 40639455
Usually when you see a macro prefixed with the File name this means that your macros settings are not activating macros. or you have more than 1 workbook opened and you can see the name of the macro affected to the workbook. But as you already mentioned that you first select this workbook from the dropdown then my guess is that your macros settings are not enabled.

When you open the your workbook do you see a button OPTIONS with a security warning that macros are disabled ? if yes then simply press on Options first and enable macros then go to Run Macroes and see if the name of the workbook is still there. It should have disappeared.

gowflow
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

Use Windows Task Scheduler to print a Word document weekly so your printer ink won't dry out.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

733 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