Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 240
  • Last Modified:

Activating a function

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
pwflexner
Asked:
pwflexner
  • 2
  • 2
1 Solution
 
TracyVBA DeveloperCommented:
#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
 
jppintoCommented:
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
 
pwflexnerAuthor Commented:
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
 
jppintoCommented:
Yes! Did you checked if your Macros are Enabled?
0
 
TracyVBA DeveloperCommented:
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now