+ Reply to Thread
Results 1 to 3 of 3

VBA code calling UDF - VALUE errors

  1. #1
    Registered User
    Join Date
    05-27-2011
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    2

    Question VBA code calling UDF - VALUE errors

    Hi,
    I'm working with VBA code in a module, but I am getting #VALUE? errors for some reason in the cells, and not the result of the formulas.
    Thanks for any help you can provide. Here (below) are the codes.



    Please Login or Register  to view this content.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: VBA code calling UDF - VALUE errors

    Welcome to the forum.

    You're trying to insert an A1 formula with the FormulaR1C1 property.

    Also, the function doesn't need any error handling.


    Please Login or Register  to view this content.
    Last edited by shg; 05-27-2011 at 07:59 PM.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    05-27-2011
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: VBA code calling UDF - VALUE errors

    Thanks for your help in this!

+ Reply to Thread

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