+ Reply to Thread
Results 1 to 2 of 2

Convert Worksheet Function to VBA Function

  1. #1
    Forum Contributor
    Join Date
    02-04-2014
    Location
    Florida, United States
    MS-Off Ver
    Excel 2010, Excel 2013
    Posts
    366

    Convert Worksheet Function to VBA Function

    Please Login or Register  to view this content.
    I cannot convert by putting Application.WorksheetFunction. in front of the formulas; I think that it specifically does not work with ROW and ISBLANK.

    How can I make this formula work in VBA?
    Last edited by AliGW; 01-29-2017 at 11:18 AM.
    Thank You,

    EnigmaMatter

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Convert Worksheet Function to VBA Function

    Hi,

    Use Evaluate instead. i.e.

    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Use IF function to convert units within the same worksheet
    By melvin88 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-19-2014, 06:33 AM
  2. [SOLVED] Using Offset function as the array in the PercentRank function is giving wrong result
    By Bobneil in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-06-2013, 09:29 PM
  3. Cross Posted >> IF AND function
    By aaronwexler in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-09-2007, 08:45 AM
  4. month worksheet function returns wrong value
    By Barry in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-27-2006, 08:37 PM
  5. [SOLVED] DOUBLE POST--Sorry wrong category first--Convert to VB Pleaseeee
    By Derek Y via OfficeKB.com in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-30-2005, 01:05 PM
  6. Sumif function gives wrong result on Large worksheet ?
    By kienminwong in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-25-2005, 05:18 AM

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