Solved

Activating a function

Posted on 2011-02-22
5
238 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
[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
  • 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
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.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa‚Ķ

628 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