Results 1 to 7 of 7

Public Function Not Showing Up in Spreadsheet

Threaded View

  1. #1
    Registered User
    Join Date
    09-08-2011
    Location
    Los Angeles
    MS-Off Ver
    Excel 2007
    Posts
    4

    Public Function Not Showing Up in Spreadsheet

    Hi all,

    I am pretty new to VBA and am having a problem that is driving me crazy with a public function that I tried to create.

    I have a spreadsheet that has several custom public functions (some created by me, some created by other authors). The problem that I am having is that one of the public functions is not showing up when I start to type it in the spreadsheet (i.e., it is not showing up like =sum, or =product are). All the other functions that were created are showing up fine.

    The other weird thing about this though, is that I also made another function that references the "missing" function in the VBA. This new function works fine, and seems to be using the "missing" function fine as well.

    Is there something that I am missing? I feel like there must be a simple solution to this problem. Below is the code for the "missing" function.

    Public Function StrtWeir(Length As Double, flow As Double) As Double
           StrtWeir = ((flow) / (2.152 * Length)) ^ (2 / 3)
    End Function
    Thanks for any help and let me know if you need anymore information.
    Last edited by PJ11; 11-17-2011 at 06:05 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1