Solved

Activating a function

Posted on 2011-02-22
5
231 Views
Last Modified: 2012-05-11
I had an Experts Exchange expert create a custom function for use in one of my spreadsheets a few years ago (Windows XP operating system).  Recently I bought a new PC (with Windows 7) and copied the spreadsheet onto the new PC.  When I open the spreadsheet the cells using the function just show #name?.  How do I activate this function?  
0
Comment
Question by:pwflexner
  • 2
  • 2
5 Comments
 
LVL 24

Expert Comment

by:broomee9
Comment Utility
#Name means that the name of the function is not recognized.  Either the function calls a UDF that is not copied over, or it refers to an addin that is no longer available or to a function that is no longer available.  

It would help to narrow it down if you posted the workbook.
0
 
LVL 33

Expert Comment

by:jppinto
Comment Utility
You need to copu that UDF (User Defined Function) code into a Module on your Visual Basic Editor (Alt+F11). That way, your function will be recognized by Excel.

jppinto
0
 

Author Comment

by:pwflexner
Comment Utility
When I copied the spreadsheet from my old PC to my new one, the UDF was copied over too.  It's there, but doesn't seem to be recognized or working.  Could it be a security issue?  If so, I can't seem to find the way to lower macro security in Excel 2007.
0
 
LVL 33

Expert Comment

by:jppinto
Comment Utility
Yes! Did you checked if your Macros are Enabled?
0
 
LVL 24

Accepted Solution

by:
broomee9 earned 125 total points
Comment Utility
To check the macro security setting click the office button then select Options.  Then under Trust Center click on the Trust Center Settings button.  Then select Macro Settings on the left and see what it says.  This if for 2010, but it should be roughly the same in 2007.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Sparklines have been introduced with Excel 2010 and are a useful tool for creating small in-cell charts, used for example in dashboards. Excel 2010 offers three different types of Sparklines: Line, Column and Win/Loss. What it does not offer is a…
Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
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 …
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

772 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

14 Experts available now in Live!

Get 1:1 Help Now