+ Reply to Thread
Results 1 to 2 of 2

New to VBA functions, How do you make your function show the steps to the formula

  1. #1
    Registered User
    Join Date
    04-04-2014
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    27

    New to VBA functions, How do you make your function show the steps to the formula

    For example, in a simple worksheet sum formula it says "Adds all the numbers in a range of cells" When you type SUM then it shows Number1, Number2 ,etc when you get inside the formula. I did a simple function but do not know how to add the same comments on my function. I would like to know how to add instructions to my formula?

    Function SUBTRACT(x As Integer, y As Integer) As Integer


    SUBTRACT = x - y


    End Function
    Last edited by dbravo; 04-22-2014 at 01:05 PM.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: New to VBA functions, How do you make your function show the steps to the formula

    Hello dbravo,

    Excel only provides that information for built-in functions, not VBA user defined functions (UDF).
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

+ 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. A picture to show steps to upload file
    By benishiryo in forum Suggestions for Improvement
    Replies: 1
    Last Post: 02-21-2013, 09:23 AM
  2. Make Line chart not show (Contain Formula)
    By vietdieu in forum Excel General
    Replies: 1
    Last Post: 03-12-2012, 08:57 PM
  3. Steps to make a macro applicable to any cell that I choose
    By Digestive in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-13-2011, 08:55 PM
  4. Do not show a macro's steps
    By Andrew-Mark in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-15-2009, 10:49 AM
  5. Don't show the steps in a macro
    By LSkarbek in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-11-2006, 06:55 PM

Tags for this Thread

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