Results 1 to 13 of 13

Thread: Probably dead obvious...

Threaded View

  1. #4
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343

    Re: Probably dead obvious...

    Um...

    Nope no idea. Tried putting that function (which returns "Test") and it didn't run. Just got the #Name?

    I take it the function when run in the VBA window works fine. But the function doesn't run from the spreadsheet. And it doesn't error. No idea . quirk of MS Excel...

    Which version are you running (being curious) ?

    EDIT:
    Version Excel 2000 here...
    Shoved the code into a module (not the ThisSheet module) and it works fine.
    Is it something in your code? (not likely) or perhaps a re-install of excel is required.
    Tested with this code:
    Code:
    Public Function CollateAndCalcShare() As String
        CollateAndCalcShare = "Test" & Cells(2, 3)
    End Function
    The function is in cells(2,2) (B2)
    Last edited by Ecniv; Feb 28th, 2005 at 11:06 AM.

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

Posting Permissions

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



Click Here to Expand Forum to Full Width