Funny function problem with add-ins...

  • Thread starter Thread starter Bura Tino
  • Start date Start date
B

Bura Tino

Hi,

I have an add-in which has worksheets in it, which are templates that I copy
out. Now, I also have a function

Function stupid() As Double
stupid = 5
End Function

and one of the cells in the worksheet-to-be-copied-out says =stupid()

Unfortunately, when the spreadsheet is copied out of the add-in, that cells
now says #NAME?. If I double-click into and press Enter, in goes back to
"5". Is there a way to avoid this problem?

Thanks,

Bura
 
Bura Tino said:
Hi,

I have an add-in which has worksheets in it, which are templates that I copy
out. Now, I also have a function

Function stupid() As Double
stupid = 5
End Function

and one of the cells in the worksheet-to-be-copied-out says =stupid()

Unfortunately, when the spreadsheet is copied out of the add-in, that cells
now says #NAME?. If I double-click into and press Enter, in goes back to
"5". Is there a way to avoid this problem?

Now just wondering if anyone else has had this problem...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top