Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 78
Default UDF Not recognized

I have this in the ALT-F11, module and I get a #NAME? in the resulting cell.

Public Function Filethere(strFullPath As String) As Boolean
If Not Dir(strFullPath, vbDirectory) = vbNullString Then Filethere = True
End Function

The data looks like this.

A B
c:\text.txt =Filethere(A1)

The result is #NAME?

Basically none of my UDF's are working - any suggestions?
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default UDF Not recognized

Hi,

If none of your UDf's are working then maybe you have macros disabled. If
you have, this UDF even though it works correctly will give a name error.

Close and reopen ensuring macros are enabled.
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"Rookie_User" wrote:

I have this in the ALT-F11, module and I get a #NAME? in the resulting cell.

Public Function Filethere(strFullPath As String) As Boolean
If Not Dir(strFullPath, vbDirectory) = vbNullString Then Filethere = True
End Function

The data looks like this.

A B
c:\text.txt =Filethere(A1)

The result is #NAME?

Basically none of my UDF's are working - any suggestions?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 806
Default UDF Not recognized

Hello,

...
If none of your UDf's are working then maybe you have macros disabled. If
you have, this UDF even though it works correctly will give a name error.
...


Or you have all single UDFs in modules with exactly the same name as
the functions :-)

Regards,
Bernd
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
value not recognized as a formula Ron@Buy Excel Worksheet Functions 2 February 27th 09 06:36 PM
value not recognized as a formula Michelle Excel Worksheet Functions 0 February 27th 09 06:35 PM
value not recognized as a formula Michelle Excel Worksheet Functions 1 February 27th 09 05:16 PM
One cell isn't recognized? LiveUser Excel Discussion (Misc queries) 2 February 14th 08 09:07 PM
Data isn't being recognized. ConfusedDataMonkey Excel Worksheet Functions 1 January 20th 05 04:41 PM


All times are GMT +1. The time now is 10:17 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"