Solved

Activating a function

Posted on 2011-02-22
5
235 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
ID: 34955699
#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
ID: 34955722
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
ID: 34956054
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
ID: 34956061
Yes! Did you checked if your Macros are Enabled?
0
 
LVL 24

Accepted Solution

by:
broomee9 earned 125 total points
ID: 34956081
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

825 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